mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
cross-platform sed fix
This commit is contained in:
parent
3c601f012b
commit
db6f4ca88b
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -64,7 +64,8 @@ bundle: | $(BUILD_DIR)
|
|||
@cd src; \
|
||||
cat $(PDF_JS_FILES) > all_files.tmp; \
|
||||
sed '/PDFJSSCRIPT_INCLUDE_ALL/ r all_files.tmp' pdf.js > ../$(BUILD_TARGET); \
|
||||
sed -i '' "s/PDFJSSCRIPT_BUNDLE_VER/`git log --format="%H" -n 1`/" ../$(BUILD_TARGET); \
|
||||
sed -i.bak "s/PDFJSSCRIPT_BUNDLE_VER/`git log --format="%H" -n 1`/" ../$(BUILD_TARGET); \
|
||||
rm -f ../$(BUILD_TARGET).bak
|
||||
rm -f *.tmp; \
|
||||
cd ..
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue