+ smal bugfix of buildResourceCode.sh

This commit is contained in:
kelson42 2012-04-24 14:31:40 +00:00
parent f4049dfece
commit cd3f9591dd
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ EOF
# Goes through all files in /static/ # 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 ~` for FILE in `find . -type f | sed 's/\.\///' | grep -v .svn | grep -v Makefile | grep -v .sh | grep -v ~`
do 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]" echo "Inserting $FILE... [$FILE_ID]"
reswrap -s -t -oa $RESOURCE_FILE -r $FILE_ID $FILE reswrap -s -t -oa $RESOURCE_FILE -r $FILE_ID $FILE
MAP=$MAP"\tm[\""$FILE"\"] = "$FILE_ID"; \n"; MAP=$MAP"\tm[\""$FILE"\"] = "$FILE_ID"; \n";