From 213a00d032a36d7db4a85435e61207fe267139de Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Fri, 14 Jan 2022 01:28:13 -0300 Subject: [PATCH] Fix bug --- scripts/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index a55dbe5..add0526 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -116,7 +116,7 @@ startRice() { runScript() { lastFolder=$(pwd -P) cocoRiceFolder=$(pwd -P | awk '{ sub(/CocoRice.*/, "CocoRice"); print }') - cd "$cocoRiceFolder" || echo "Couldn't cd into '$cocoRiceFolder'." 1>&2 && exit 1 + cd "$cocoRiceFolder" || { echo "Couldn't cd into '$cocoRiceFolder'." 1>&2 && exit 1; } source scripts/common.sh checkParameters "$@" @@ -126,7 +126,7 @@ runScript() { startRice clear - cd "$lastFolder" || echo "Couldn't cd into '$lastFolder'." 1>&2 && exit 1 + cd "$lastFolder" || { echo "Couldn't cd into '$lastFolder'." 1>&2 && exit 1; } } runScript "$@" \ No newline at end of file