From 846405d5d92f638bc54b7458f9193a3b4279ef60 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Sat, 28 Apr 2012 09:51:37 +0000 Subject: [PATCH] + small fix to remove files with "~" --- static/buildResourceCode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/buildResourceCode.sh b/static/buildResourceCode.sh index 0fae494..233766a 100755 --- a/static/buildResourceCode.sh +++ b/static/buildResourceCode.sh @@ -20,7 +20,7 @@ std::string getResourceAsString(const std::string &name); EOF # Goes through all files in /static/ -for FILE in `find . -type f | sed 's/\.\///' | grep -v .svn | grep -v Makefile | grep -v .sh | grep -v ~ | grep -v "#"` +for FILE in `find . -type f | sed 's/\.\///' | grep -v .svn | grep -v Makefile | grep -v .sh | grep -v "~" | grep -v "#"` do FILE_ID=`echo "$FILE" | sed "s/\//_/g" | sed "s/\./_/g" | sed "s/\-/_/g"` echo "Inserting $FILE... [$FILE_ID]"