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

[docker_test.sh] Fix checkout path

parent 4704ab96
No related branches found
No related tags found
1 merge request!57Delete pad after delay
...@@ -59,20 +59,18 @@ read ans ...@@ -59,20 +59,18 @@ read ans
if [ $ans == "y" ]; then if [ $ans == "y" ]; then
git pull git pull
git checkout -- $1 if [[ ! -d "$1" ]]; then
echo "ERROR : directory does not exist ($1)"
usage
exit 1
fi
cd "$1"
git checkout -- .
else else
echo "Aborting." echo "Aborting."
exit 0 exit 0
fi fi
if [[ ! -d "$1" ]]; then
echo "ERROR : directory does not exist ($1)"
usage
exit 1
fi
cd "$1"
create_dumb_secrets create_dumb_secrets
echo -e "\n==== Remove and re-create named external volumes ====" echo -e "\n==== Remove and re-create named external volumes ===="
......
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