3
0
Fork 0

fix small bug if ressource id generation

small_fixes
kelson42 14 years ago
parent f8561250d4
commit c96e33845f

@ -22,8 +22,8 @@ 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
echo "Inserting $FILE..." FILE_ID=`echo "$FILE" | sed "s/\//_/g" | sed "s/\./_/g"`
FILE_ID=`echo "$FILE" | sed "s/\//_/" | sed "s/\./_/"` 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";
done; done;

Loading…
Cancel
Save