~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: 2006-05-17 02:46:26 UTC
  • Revision ID: james.westby@ubuntu.com-20060517024626-lljr08ftv9g9vefl
Tags: upstream-0.9h-20060510
ImportĀ upstreamĀ versionĀ 0.9h-20060510

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