Skip to content

Commit a89e66d

Browse files
author
Camel Chang
committed
Fix zsh unsupport grep -P flag
1 parent 1c4f838 commit a89e66d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ git reset --hard master
1818
echo "Starting build"
1919
node build.js
2020
echo "Build complete"
21-
rm -rf `ls -d * | grep -v 'site|node_modules' | xargs`
21+
rm -rf `ls -d * | grep -v 'site' | grep -v 'node_modules' | xargs`
2222
echo "Cleaned out directory"
2323
mv site/* .
2424
if [[ $BUILD_ONLY ]]; then

0 commit comments

Comments
 (0)