mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-04 16:30:48 -08:00
24 lines
827 B
Batchfile
24 lines
827 B
Batchfile
REM @ECHO off
|
|
REM Converted from ecl_nsi.sh
|
|
|
|
SETLOCAL
|
|
|
|
SET source=%1
|
|
SET where=%2
|
|
CD %where%
|
|
SET dest=ecl.nsi
|
|
SET version=%3
|
|
|
|
type %source%1 | ..\c\cut.exe "@ECLDIR@" "%where%" "@ECLVERSION@" "%version%" > %dest%
|
|
dir /b /a:-d | ..\c\cut.exe "ecl.exe" "/DELETE/" "ecl.nsi" "/DELETE/" "%where%\\" "" > ../aux_files
|
|
dir /b /a:d | ..\c\cut.exe "ecl.exe" "/DELETE/" "ecl.nsi" "/DELETE/" "%where%\\" "" > ../aux_dirs
|
|
echo HOLA
|
|
for /f %%i in (../aux_dirs) do @echo %%i
|
|
for /f %%i in (../aux_dirs) do @echo File /r "${ECLDIR}\%%i" >> %dest%
|
|
for /f %%i in (../aux_files) do @echo File "${ECLDIR}\%%i" >> %dest%
|
|
type %source%2 >> %dest%
|
|
for /f %%i in (../aux_files) do @echo Delete "$INSTDIR\%%i" >> %dest%
|
|
for /f %%i in (../aux_dirs) do @echo RMDir /r "$INSTDIR\%%i" >> %dest%
|
|
type %source%3 >> %dest%
|
|
|
|
ENDLOCAL
|