From 64738095d9ce1f3ad0ac5b47298fdc90103a6c66 Mon Sep 17 00:00:00 2001 From: Louis Lacoste Date: Mon, 22 Apr 2024 10:36:00 +0200 Subject: [PATCH] Using env var instead of user name --- code/scripts/migale_simulations_NA_robustness.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/scripts/migale_simulations_NA_robustness.sh b/code/scripts/migale_simulations_NA_robustness.sh index 9e03f05..af7830d 100755 --- a/code/scripts/migale_simulations_NA_robustness.sh +++ b/code/scripts/migale_simulations_NA_robustness.sh @@ -19,7 +19,7 @@ SAMPLINGA=("uniform" "row" "col" "rowcol") STRUCT=${STRUCTA[$(($(($((SGE_TASK_ID - 1)) + $((SGE_TASK_ID - 1)) / 4)) % 2))]} SAMPLING=${SAMPLINGA[$(($((SGE_TASK_ID - 1)) % 4))]} -BASE_DIR="/home/llacoste/work/mia-stage-2024/" +BASE_DIR="/home/$USER/work/mia-stage-2024/" LOG_DIR=$(echo "$BASE_DIR/logs") if [ ! -d "$LOG_DIR" ]; then