1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-18 06:08:21 +00:00

Rename the only utilty function left that didn't say repo

This commit is contained in:
Dan Schaper 2016-11-02 11:18:13 -07:00
parent 3f61aea7fc
commit c1a3f003e8

View File

@ -27,7 +27,7 @@ is_repo() {
return return
} }
prep_dirs() { prep_repo() {
# Prepare directory for local repository building # Prepare directory for local repository building
local directory="${1}" local directory="${1}"
@ -40,7 +40,7 @@ make_repo() {
local remoteRepo="${2}" local remoteRepo="${2}"
local directory="${1}" local directory="${1}"
(prep_dirs "${directory}" && git clone -q --depth 1 "${remoteRepo}" "${directory}" > /dev/null) (prep_repo "${directory}" && git clone -q --depth 1 "${remoteRepo}" "${directory}" > /dev/null)
return return
} }