mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
fix small bug if ressource id generation
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user