Browse files

Stopped zipping Chrome extension after compiling.

No point zipping it if you're using it yourself.
The zipping was done badly anyway. Full path was included in zip file.
  • Loading branch information...
Volvagia356 committed Feb 8, 2015
1 parent 6dc9958 commit 0ff1f71386cc9f0da6410fde8f6246e6a5bd5933
Showing with 2 additions and 3 deletions.
  1. +2 −3 chrome/
@@ -16,6 +16,7 @@ VER=`sed -n -e 's/.*version\": \"\([0-9.]*\)\",/\1/p' ${SRC}manifest.json`
sed -i "s/'version': '[0-9.]*'/'version': '${VER}'/g" ${SRC}js/conf.js

echo "\033[1;31;40m[i]Sync ...\033[0m"
rm -rf "$DEST"
# ignore .*.swp, .hgignore, etc
rsync -av --exclude '.*.*' $SRC $DEST

@@ -28,8 +29,6 @@ sed -i "s/'consumer_secret': '\w*'/'consumer_secret': 'vt8Dw8a4cnrubcm9E0Zny72YM

echo "\033[1;31;40m[i] Done!\033[0m"

rm -f
zip -r "$DEST"
rm -rf "$DEST" "$SRC"
rm -rf "$SRC"

0 comments on commit 0ff1f71

Please sign in to comment.