From 9ed28ca1fb27da9465241c1019ad05bd5ac820be Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Sat, 28 Nov 2020 21:54:21 +0100 Subject: [PATCH] fix cd --- scripts/dotdrop-version-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dotdrop-version-manager.sh b/scripts/dotdrop-version-manager.sh index 574c0f0..edfaaf9 100755 --- a/scripts/dotdrop-version-manager.sh +++ b/scripts/dotdrop-version-manager.sh @@ -92,7 +92,7 @@ move_to_base() if [ "$?" ]; then # dotdrop is a submodule echo "dotdrop used as a submodule" - cd dotdrop || echo "cannot change directory to dotdrop" && exit 1 + cd dotdrop || (echo "cannot change directory to dotdrop" && exit 1) return fi