diff options
author | Tor Andersson <tor@ccxvii.net> | 2018-07-16 16:24:48 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-08-10 14:09:46 +0200 |
commit | d97b6bb79759db3a33f63792b235f1a161fa7a6b (patch) | |
tree | 2bf3f3656004cc8d832137631a2c27780e38b56d /scripts/runfontdump.sh | |
parent | 08e9dc67fd34f7dbcc5ce1ab877c3c42f9f75b05 (diff) | |
download | mupdf-d97b6bb79759db3a33f63792b235f1a161fa7a6b.tar.xz |
Tweak hexdumped data to increase build portability.
Follow bin2coff layout for hexdumped data instead of trying to emulate
the objcopy layout (which seems to break for the android tools).
Only use the basename of the resource in hexdump / bin2coff.
Ifdef on HAVE_OBJCOPY instead of _WIN32.
Diffstat (limited to 'scripts/runfontdump.sh')
-rw-r--r-- | scripts/runfontdump.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runfontdump.sh b/scripts/runfontdump.sh index ab18220b..1fcc9b04 100644 --- a/scripts/runfontdump.sh +++ b/scripts/runfontdump.sh @@ -22,7 +22,7 @@ done for FILE in $FONTS do - NAME=$(echo _binary_$FILE | tr '/.-' '___') + NAME=$(echo _binary_$(basename $FILE) | tr '/.-' '___') OBJ=$(echo generated/$FILE.obj) OBJ64=$(echo generated/$FILE.x64.obj) DIR=$(dirname $OBJ) |