Skip to content
Snippets Groups Projects
Unverified Commit 8a076e1c authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[docker_test.sh] Repeat after me : 'never code again'

parent a82b8017
No related branches found
No related tags found
1 merge request!57Delete pad after delay
...@@ -26,7 +26,7 @@ create_dumb_secrets() { ...@@ -26,7 +26,7 @@ create_dumb_secrets() {
fi fi
} }
PATH=$(pwd) REPO_PATH=$(pwd)
if [[ $(hostname) != *"test"* ]]; then if [[ $(hostname) != *"test"* ]]; then
echo "ERROR : DO NOT USE OUTSIDE OF A TEST MACHINE !" echo "ERROR : DO NOT USE OUTSIDE OF A TEST MACHINE !"
...@@ -60,7 +60,7 @@ read ans ...@@ -60,7 +60,7 @@ read ans
if [ $ans == "y" ]; then if [ $ans == "y" ]; then
git pull git pull
cd ${PATH}/$1 cd ${REPO_PATH}/$1
git checkout -- . git checkout -- .
else else
echo "Aborting." echo "Aborting."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment