From 1d4edfaa1021a56b699a87401e6fc7262fc6ace8 Mon Sep 17 00:00:00 2001 From: Dan OBoyle Date: Fri, 10 Jul 2015 18:34:37 -0400 Subject: [PATCH] Fix change_to_vcs_root in issue #105 --- bin/_blackbox_common.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/_blackbox_common.sh b/bin/_blackbox_common.sh index bc78f1b..6263eaf 100755 --- a/bin/_blackbox_common.sh +++ b/bin/_blackbox_common.sh @@ -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