Ignore:
Timestamp:
2011-11-30T17:48:15+13:00 (12 years ago)
Author:
ak19
Message:

Changes to bat files and perl code to deal with brackets in (Windows) filepath. Also checked winmake.bat files to see if changes were needed there. These changes go together with the commits 24826 to 24828 for gems.bat, and commit 24820 on makegs2.bat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/makejar.bat

    r24782 r24829  
    11echo off
     2setlocal enabledelayedexpansion
     3
    24pushd "%CD%"
    35CD /D "%~dp0"
     
    115117
    116118  cd jar
    117   "%JARPATH%\jar" xf ..\lib\apache.jar com org
    118   "%JARPATH%\jar" xf ..\lib\qfslib.jar de
     119  "!JARPATH!\jar" xf ..\lib\apache.jar com org
     120  "!JARPATH!\jar" xf ..\lib\qfslib.jar de
    119121
    120122  cd ..
     
    152154
    153155    if not exist appletstore (
    154       "%JARPATH%\keytool" -genkey -alias privateKey -keystore appletstore -storepass greenstone
     156      "!JARPATH!\keytool" -genkey -alias privateKey -keystore appletstore -storepass greenstone
    155157    )
    156158
     
    158160    if exist appletpasswd (
    159161      echo Using jarsigner to make signed jar file ...
    160       "%JARPATH%\jarsigner" -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey < appletpasswd >NUL 2>NUL
     162      "!JARPATH!\jarsigner" -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey < appletpasswd >NUL 2>NUL
    161163      echo ... done.
    162164    ) ELSE (
    163       "%JARPATH%\jarsigner" -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey
     165      "!JARPATH!\jarsigner" -keystore appletstore -signedjar SignedGatherer.jar GLI.jar privateKey
    164166    )
    165167    echo Installing SignedGatherer in ..\bin\java
     
    169171
    170172popd
     173endlocal
Note: See TracChangeset for help on using the changeset viewer.