replace 'git -C' with long version (see #1009)

This commit is contained in:
DL6ER 2016-12-24 15:05:57 +01:00
parent ffd31d8330
commit 0276c72fe2
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

4
advanced/Scripts/update.sh Normal file → Executable file
View file

@ -23,8 +23,8 @@ is_repo() {
# Use git to check if directory is currently under VCS, return the value
local directory="${1}"
git -C "${directory}" status --short &> /dev/null
return
curdir=$PWD; cd $directory; git status --short &> /dev/null; rc=$?; cd $curdir
return $rc
}
prep_repo() {