From 6516f5f40467635806fc59fb01f6912fa33f0071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Tue, 15 Feb 2022 10:48:04 +0100 Subject: [PATCH] bugfix wolf folder --- install_wolf.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/install_wolf.sh b/install_wolf.sh index 43eb91a..658c508 100755 --- a/install_wolf.sh +++ b/install_wolf.sh @@ -240,13 +240,13 @@ func_echo "You are in folder $PWD" if [ $WOLF_PATH == "undefined" ]; then func_echo "Enter path for wolf folder (either /global/path or relative/path):" read WOLF_PATH - while ! cd $WOLF_PATH ; do - func_echo_error "Invalid dependency path." - func_echo "Enter path for dependencies (either /global/path or relative/path):" - read WOLF_PATH - done fi -mkdir wolf +while ! cd $WOLF_PATH ; do + func_echo_error "Invalid wolf folder path." + func_echo "Enter path for dependencies (either /global/path or relative/path):" + read WOLF_PATH +done +mkdir -pv wolf cd wolf WOLF_PATH=$PWD func_echo "wolf folder path: $WOLF_PATH" -- GitLab