~ubuntu-branches/ubuntu/intrepid/ecl/intrepid

« back to all changes in this revision

Viewing changes to msvc/util/ecl_nsi.bat

  • Committer: Bazaar Package Importer
  • Author(s): Peter Van Eynde
  • Date: 2007-04-09 11:51:51 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070409115151-ql8cr0kalzx1jmla
Tags: 0.9i-20070324-2
Upload to unstable. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
REM @ECHO off
2
 
REM Converted from ecl_nsi.sh
3
 
 
4
 
SETLOCAL
5
 
 
6
 
SET source=%1
7
 
SET where=%2
8
 
CD %where%
9
 
SET dest=ecl.nsi
10
 
SET version=%3
11
 
 
12
 
type %source%1 | ..\c\cut.exe "@ECLDIR@" "%where%" "@ECLVERSION@" "%version%" > %dest%
13
 
dir /b /a:-d | ..\c\cut.exe "ecl.exe" "/DELETE/" "ecl.nsi" "/DELETE/" "%where%\\" "" > ../aux_files
14
 
dir /b /a:d | ..\c\cut.exe "ecl.exe" "/DELETE/" "ecl.nsi" "/DELETE/" "%where%\\" "" > ../aux_dirs
15
 
echo HOLA
16
 
for /f %%i in (../aux_dirs) do @echo %%i
17
 
for /f %%i in (../aux_dirs) do @echo File /r "${ECLDIR}\%%i" >> %dest%
18
 
for /f %%i in (../aux_files) do @echo File "${ECLDIR}\%%i" >> %dest%
19
 
type %source%2 >> %dest%
20
 
for /f %%i in (../aux_files) do @echo Delete "$INSTDIR\%%i" >> %dest%
21
 
for /f %%i in (../aux_dirs) do @echo RMDir /r "$INSTDIR\%%i" >> %dest%
22
 
type %source%3 >> %dest%
23
 
 
24
 
ENDLOCAL
 
1
REM @ECHO off
 
2
REM Converted from ecl_nsi.sh
 
3
 
 
4
SETLOCAL
 
5
 
 
6
SET source=%1
 
7
SET where=%2
 
8
CD %where%
 
9
SET dest=ecl.nsi
 
10
SET version=%3
 
11
 
 
12
type %source%1 | ..\c\cut.exe "@ECLDIR@" "%where%" "@ECLVERSION@" "%version%" > %dest%
 
13
dir /b /a:-d | ..\c\cut.exe "ecl.exe" "/DELETE/" "ecl.nsi" "/DELETE/" "%where%\\" "" > ../aux_files
 
14
dir /b /a:d | ..\c\cut.exe "ecl.exe" "/DELETE/" "ecl.nsi" "/DELETE/" "%where%\\" "" > ../aux_dirs
 
15
echo HOLA
 
16
for /f %%i in (../aux_dirs) do @echo %%i
 
17
for /f %%i in (../aux_dirs) do @echo File /r "${ECLDIR}\%%i" >> %dest%
 
18
for /f %%i in (../aux_files) do @echo File "${ECLDIR}\%%i" >> %dest%
 
19
type %source%2 >> %dest%
 
20
for /f %%i in (../aux_files) do @echo Delete "$INSTDIR\%%i" >> %dest%
 
21
for /f %%i in (../aux_dirs) do @echo RMDir /r "$INSTDIR\%%i" >> %dest%
 
22
type %source%3 >> %dest%
 
23
 
 
24
ENDLOCAL