From c91fe602683df5fea6709a9988c2f46d5a311a26 Mon Sep 17 00:00:00 2001 From: Gal Date: Wed, 14 Feb 2024 23:06:31 +0100 Subject: [PATCH] :bug: Debug --- scripts/publish.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/publish.sh b/scripts/publish.sh index 06203e4..5166b9e 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -75,7 +75,10 @@ find "$DEST_DIR" -type f -exec sh -c ' source_file="$SOURCE_DIR/$relative_path" if [ ! -e "$source_file" ]; then + echo "Delete $1" rm "$1" + else + echo "Skipping $1 as it exists in SOURCE_DIR" fi ' _ {} \;