--- /dev/null
+@echo off\r
+java -version 2> version.txt\r
+findstr /c:"1.7.0" version.txt\r
+if ERRORLEVEL 1 (\r
+ goto :1.6\r
+) else (\r
+ goto :Good\r
+)\r
+\r
+:1.6\r
+findstr /c:"1.6.0" version.txt\r
+if ERRORLEVEL 1 (\r
+ goto :Bad\r
+) else (\r
+ goto :Good\r
+)\r
+\r
+:Good\r
+@exit /b 0\r
+\r
+:Bad\r
+@exit /b 1
\ No newline at end of file
case ${TARGET_OS} in
windows-32)
cp -rf $SRCDIR/InstallManager_java/dist/windows32/InstallManager.jar ${buildDir}/
- cp -rf $SRCDIR/windows-32/InstManager.exe ${buildDir}/
- cp -rf $SRCDIR/windows-32/InstManagerC.exe ${buildDir}/
+ cp -rf $SRCDIR/binaries/windows-32/InstManager.exe ${buildDir}/
+ cp -rf $SRCDIR/binaries/windows-32/InstManagerC.exe ${buildDir}/
;;
windows-64)
cp -rf $SRCDIR/InstallManager_java/dist/windows64/InstallManager.jar ${buildDir}/
- cp -rf $SRCDIR/windows-32/InstManager.exe ${buildDir}/
- cp -rf $SRCDIR/windows-32/InstManagerC.exe ${buildDir}/
+ cp -rf $SRCDIR/binaries/windows-64/InstManager.exe ${buildDir}/
+ cp -rf $SRCDIR/binaries/windows-64/InstManagerC.exe ${buildDir}/
;;
*)
echo "The OS \"${TARGET_OS}\" is not supported yet!"