From bc6d0afca887ec74c904d48de511c17b8b243fb0 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 0fae494ef..233766ac8 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]"