Space/Tab updatecheck.sh

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Dan Schaper 2018-07-20 13:24:05 -07:00
parent 1cd40dc9e5
commit aca359c2e2
No known key found for this signature in database
GPG key ID: B4FF14C01CC08DC0

View file

@ -32,9 +32,9 @@ function get_local_branch() {
}
function get_local_version() {
# Return active branch
cd "${1}" 2> /dev/null || return 1
git describe --long --dirty --tags || return 1
# Return active branch
cd "${1}" 2> /dev/null || return 1
git describe --long --dirty --tags || return 1
}
if [[ "$2" == "remote" ]]; then