Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit b271c6b

Browse files
committed
fix zip script to account for spaces in path
1 parent 72d75d5 commit b271c6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/build-plugin-zip.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ fi
127127
status "Creating archive... 🎁"
128128
mkdir zip-file
129129
mkdir zip-file/build
130-
sh $SOURCE_PATH/bin/copy-plugin-files.sh $SOURCE_PATH "$SOURCE_PATH/zip-file"
131-
cd $(pwd)/zip-file
130+
sh "$SOURCE_PATH/bin/copy-plugin-files.sh" "$SOURCE_PATH" "$SOURCE_PATH/zip-file"
131+
cd "$(pwd)/zip-file"
132132
zip -r ../woocommerce-gutenberg-products-block.zip ./
133133
cd ..
134134
rm -r zip-file

0 commit comments

Comments
 (0)