From cd3f9591ddcb8bda0c68041414dc6f9752a60979 Mon Sep 17 00:00:00 2001 From: kelson42 Date: Tue, 24 Apr 2012 14:31:40 +0000 Subject: [PATCH] + smal bugfix of buildResourceCode.sh --- static/buildResourceCode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/buildResourceCode.sh b/static/buildResourceCode.sh index 798347052..359138c9e 100755 --- a/static/buildResourceCode.sh +++ b/static/buildResourceCode.sh @@ -22,7 +22,7 @@ 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 ~` do - FILE_ID=`echo "$FILE" | sed "s/\//_/g" | sed "s/\./_/g"` + FILE_ID=`echo "$FILE" | sed "s/\//_/g" | sed "s/\./_/g" | sed "s/\-/_/g"` echo "Inserting $FILE... [$FILE_ID]" reswrap -s -t -oa $RESOURCE_FILE -r $FILE_ID $FILE MAP=$MAP"\tm[\""$FILE"\"] = "$FILE_ID"; \n";