Code

Fixed Win32 installer since revision number reinstanted in inkscape-version.cpp so...
authorChris Morgan <chris.morganiser@gmail.com>
Thu, 11 Mar 2010 10:04:33 +0000 (21:04 +1100)
committerChris Morgan <chris.morganiser@gmail.com>
Thu, 11 Mar 2010 10:04:33 +0000 (21:04 +1100)
packaging/win32/inkscape.nsi

index be0b9e33da4ef804abd814f6d0a60f8d639ff80e..111e46e252edc40a671bfdaf5332c7dea76cfa36 100755 (executable)
@@ -151,8 +151,8 @@ ReserveFile "${NSISDIR}\Plugins\UserInfo.dll"
 !define BrandingText `Inkscape ${INKSCAPE_VERSION}`
 
 ; Check for the Bazaar revision number for lp:inkscape {{{3
-!if `${BZR_REVISION}` == ``
-  ${!ifexist} ..\..\.bzr\branch\last-revision
+${!ifexist} ..\..\.bzr\branch\last-revision
+  !if `${BZR_REVISION}` == ``
     !searchparse /noerrors /file ..\..\.bzr\branch\last-revision "" BZR_REVISION " "
     !if `${BZR_REVISION}` != ``
       !define _FILENAME `${FILENAME}-r${BZR_REVISION}`