Changeset 5164 in osm


Ignore:
Timestamp:
2007-10-25T08:20:52+02:00 (17 years ago)
Author:
joerg
Message:

josm-setup-unix.sh: warn and exit if files are not build, move lanch4j executable to /usr/share

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/nsis/josm-setup-unix.sh

    r5163 r5164  
    44# for working on a debian-unix system install the nsis package with
    55# apt-get install nsis
    6 # replace the  /usr/share/nsis/Plugins/System.dll with the new Version from the nsis .zip File
    7 # The old one is missing the Call:: Function
    8 # then download launch4j from http://launch4j.sourceforge.net/
     6# replace the  /usr/share/nsis/Plugins/System.dll with the Version from the nsis .zip File
     7# The one comming with the debian package is missing the Call:: Function
     8# See also /usr/share/doc/nsis/README.Debian
     9#
     10# Then download launch4j from http://launch4j.sourceforge.net/
     11# wget http://mesh.dl.sourceforge.net/sourceforge/launch4j/launch4j-3.0.0-pre2-linux.tgz
     12# and unpack it to /usr/share/launch4j
    913
    1014## settings ##
    11 LAUNCH4J="java -jar launch4j/launch4j.jar"
     15LAUNCH4J="java -jar /usr/share/launch4j/launch4j.jar"
    1216
    1317svncorerevision=`svnversion ../core`
     
    6064# (makes attaching to file extensions a lot easier)
    6165# launch4j - http://launch4j.sourceforge.net/
     66rm josm.exe
    6267$LAUNCH4J ./launch4j.xml
     68
     69if ! [ -s josm.exe ]; then
     70    echo "NO Josm File Created"
     71    exit -1
     72fi
    6373
    6474echo
Note: See TracChangeset for help on using the changeset viewer.