Changeset 17706 in osm for applications/editors/josm/nsis
- Timestamp:
- 2009-09-20T10:19:55+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/nsis/josm-setup-unix.sh
r14277 r17706 22 22 # as described above 23 23 LAUNCH4J="java -jar /usr/share/launch4j/launch4j.jar" 24 elif [ -s ../launch4j/launch4j.jar ]; then 25 LAUNCH4J="java -jar ../launch4j/launch4j.jar" 24 26 else 25 27 # launch4j installed locally under this nsis folder … … 34 36 else 35 37 # UNIX like 36 MAKENSIS= makensis38 MAKENSIS=/usr/bin/makensis 37 39 fi 38 40 echo Using NSIS: $MAKENSIS 39 41 40 svncorerevision=`svnversion ../core` 41 svnpluginsrevision=`svnversion ../plugins` 42 svnrevision="$svncorerevision-$svnpluginsrevision" 42 if [ -n "$1" ]; then 43 export VERSION=$1 44 export JOSM_BUILD="no" 45 export WEBKIT_DOWNLAD="no" 46 else 47 svncorerevision=`svnversion ../core` 48 svnpluginsrevision=`svnversion ../plugins` 49 svnrevision="$svncorerevision-$svnpluginsrevision" 43 50 44 #export VERSION=latest 45 export VERSION=custom-${svnrevision} 51 export VERSION=custom-${svnrevision} 52 export JOSM_BUILD="yes" 53 export WEBKIT_DOWNLOAD="yes" 54 fi 46 55 47 56 echo "Creating Windows Installer for josm-$VERSION" … … 50 59 echo "##################################################################" 51 60 echo "### Download and unzip the webkit stuff" 52 wget --continue --timestamping http://josm.openstreetmap.de/download/windows/webkit-image.zip 61 if [ "x$WEBKIT_DOWNLOAD" == "xyes" ]; then 62 wget --continue --timestamping http://josm.openstreetmap.de/download/windows/webkit-image.zip 63 fi 53 64 mkdir -p webkit-image 54 65 cd webkit-image … … 59 70 echo "##################################################################" 60 71 echo "### Build the Complete josm + Plugin Stuff" 61 if true; then72 if [ "x$JOSM_BUILD" == "xyes" ]; then 62 73 ( 63 74 echo "Build the Complete josm Stuff" … … 82 93 # launch4j - http://launch4j.sourceforge.net/ 83 94 # delete old exe file first 84 rm -f josm.exe95 /bin/rm -f josm.exe 85 96 $LAUNCH4J "launch4j.xml" 86 97 … … 98 109 99 110 # keep the intermediate file, for debugging 100 rm -f josm-intermediate.exe 101 mv josm.exe josm-intermediate.exe 111 /bin/rm josm-intermediate.exe 2>/dev/null >/dev/null 112 /bin/mv josm.exe josm-intermediate.exe 2>/dev/null >/dev/null
Note:
See TracChangeset
for help on using the changeset viewer.