Skip to content
Snippets Groups Projects
Verified Commit 6004cf60 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

[MISC] cd into secrets folder before creating dumb secrets

parent a19c0ae2
No related branches found
No related tags found
No related merge requests found
......@@ -35,10 +35,12 @@ cd "$1"
echo -e "Starting procedure for \033[31m$1\e[0m..."
if [[ -d secrets ]]; then
cd secrets
echo -e "\n==== Create dumb secret files ===="
for f in secrets/*.secrets.example; do
mv -- "$f" secrets/"$(basename -- "$f" .secrets.example).secrets"
for f in *.secrets.example; do
mv -- "$f" "$(basename -- "$f" .secrets.example).secrets"
done
cd ..
fi
echo -e "\n==== Stop and remove existing containers ===="
......
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