Fix change_to_vcs_root in issue #105

This commit is contained in:
Dan OBoyle
2015-07-10 18:34:37 -04:00
parent 6765988274
commit 1d4edfaa10

View File

@@ -305,10 +305,8 @@ function change_to_vcs_root() {
local rbase=${1:-$REPOBASE} # use $1 but if unset use $REPOBASE
if ! is_blackbox_repo "$rbase"; then
echo "ERROR: $rbase is not a blackbox Repo"
exit 1
fi
cd "$rbase"
}
# $1 is a string pointing to a directory. Outputs a