From d7def3bb24465d028dbeb91539f0c98d756da492 Mon Sep 17 00:00:00 2001 From: Gubolin Date: Sat, 10 Jan 2015 11:26:05 +0100 Subject: don't delete files from binary.sh --- binary.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'binary.sh') diff --git a/binary.sh b/binary.sh index c1a481e..212e7cb 100755 --- a/binary.sh +++ b/binary.sh @@ -79,10 +79,6 @@ fi # compress all js files find . -name '*.js' | xargs -I {} uglifyjs {} -o {} -c -# delete everything that is not html/js/logo/config -find . \( \! -name '*.js' \! -name 'snap.html' \! -name 'snap_logo_sm.png' \! -name 'config.xml' \! -name 'package.json' -type f \) -print0 | xargs -0 rm -find . -type d -empty -print0 | xargs -0 rm -r - # return to the directory where the script was called from cd "$scriptdir" -- cgit v1.3.1