Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
Use LIBRARY_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Sep 26, 2015
1 parent 75633fa commit 5b70498
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions miktex/bld.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
7za x miktex-portable-%PKG_VERSION%.exe -o%PREFIX%\share
7za x miktex-portable-%PKG_VERSION%.exe -o%LIBRARY_PREFIX%

rem latex tools must be run from miktex tree
rem nbconvert uses pdflatex & bibtex
rem SCRIPTS dir is created by 7za install
@echo start /b /wait cmd /c ^"%%~dp0..\share\miktex\bin\pdflatex.exe %%*^" > %SCRIPTS%\pdflatex.bat
@echo start /b /wait cmd /c ^"%%~dp0..\share\miktex\bin\bibtex.exe %%*^" > %SCRIPTS%\bibtex.bat
@echo start /b /wait cmd /c ^"%%~dp0..\Library\miktex\bin\pdflatex.exe %%*^" > %SCRIPTS%\pdflatex.bat
@echo start /b /wait cmd /c ^"%%~dp0..\Library\miktex\bin\bibtex.exe %%*^" > %SCRIPTS%\bibtex.bat

for %%x in (adjustbox booktabs collectbox fancyvrb ifoddpage mptopdf ucs url) do %PREFIX%\share\miktex\bin\mpm --install %%x
for %%x in (adjustbox booktabs collectbox fancyvrb ifoddpage mptopdf ucs url) do %LIBRARY_PREFIX%\miktex\bin\mpm --install %%x

0 comments on commit 5b70498

Please sign in to comment.