From 8a076e1c1a19891d54ceb768a95ce9e660ee736b Mon Sep 17 00:00:00 2001 From: Quentin Duchemin <quentinduchemin@tuta.io> Date: Tue, 17 Nov 2020 20:45:51 +0100 Subject: [PATCH] [docker_test.sh] Repeat after me : 'never code again' --- docker_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker_test.sh b/docker_test.sh index 60867784..82ffd8af 100755 --- a/docker_test.sh +++ b/docker_test.sh @@ -26,7 +26,7 @@ create_dumb_secrets() { fi } -PATH=$(pwd) +REPO_PATH=$(pwd) if [[ $(hostname) != *"test"* ]]; then echo "ERROR : DO NOT USE OUTSIDE OF A TEST MACHINE !" @@ -60,7 +60,7 @@ read ans if [ $ans == "y" ]; then git pull - cd ${PATH}/$1 + cd ${REPO_PATH}/$1 git checkout -- . else echo "Aborting." -- GitLab