From b8b0f5af60bb573ec72a88940f125966687cf90a Mon Sep 17 00:00:00 2001 From: kelson42 Date: Tue, 24 Apr 2012 11:36:43 +0000 Subject: [PATCH] fix small bug if ressource id generation --- static/buildResourceCode.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/buildResourceCode.sh b/static/buildResourceCode.sh index 2c00414e6..798347052 100755 --- a/static/buildResourceCode.sh +++ b/static/buildResourceCode.sh @@ -22,8 +22,8 @@ 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 - echo "Inserting $FILE..." - FILE_ID=`echo "$FILE" | sed "s/\//_/" | sed "s/\./_/"` + FILE_ID=`echo "$FILE" | 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"; done;