Okay I fixed it .... could use some help with "sed" to do the correct search 
replace in the uDigInstallScript.nsi file.

MAKENSIS=`which makensis`
if [ $? == 0 ] ; then
HERE=`pwd`
# todo use sed or something to update VERSION inside uDigInstallScript.nsi

cp ${INSTALLER}/uDigInstallScript.nsi ${BUILD}/${PLATFORM}
cp ${INSTALLER}/32-uDigIcon.ico ${BUILD}/${PLATFORM}
cp ${INSTALLER}/ECWEULA.txt ${BUILD}/${PLATFORM}
cp ${INSTALLER}/LICENSE.txt ${BUILD}/${PLATFORM}
cp ${INSTALLER}/uDigInstallScript.nsi ${BUILD}/${PLATFORM}
cp ${INSTALLER}/32-uninstallIcon.ico ${BUILD}/${PLATFORM}
cp ${INSTALLER}/LGPL.txt ${BUILD}/${PLATFORM}
cp ${INSTALLER}/udig/icons ${BUILD}/${PLATFORM}/icons

cd ${BUILD}/${PLATFORM}
makensis "-NOCD" uDigInstallScript.nsi
cd ${HERE}
cp ${BUILD}/${PLATFORM}/udig-*.exe ${BUILD}/udig-${VERSION}.${EXT}.exe
else
WINE=`which wine`


-- 
Jody Garnett

> 
> The uDigInstallScript.nsi is not in the correct location; so there must be 
> some magic setup I am unware of ... I am used to unpacking the win32 build 
> into the installer directory before running nsis; perhaps this time the 
> configuration file is supposed to be copied into the build directory? 
> -- 
> Jody Garnett 
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to