Skip to content

Commit

Permalink
prevent repo files from being deleted when cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
natman committed Nov 12, 2024
1 parent 0d2ba50 commit 13e0615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compose2manifests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ if [ -n "$sshfs" ]
fi
shopt -s extglob
# rm -rf !(.env|docker-compose.yml|*.sh|.git|.|..)
rm -rf !(.env|docker-compose.yml|*.sh|.git|.|..)
rm -rf !(.env|docker-compose.yml|*.sh|.git|*.md|*.py|documentation|.|..)
message

if [ "$VARS_TYPE" = "clean" ]; then
Expand Down

0 comments on commit 13e0615

Please sign in to comment.