summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorChris Morgan <chris.morganiser@gmail.com>2010-03-11 10:16:28 +0000
committerChris Morgan <chris.morganiser@gmail.com>2010-03-11 10:16:28 +0000
commit467fb04dcf5fea48989aae39daaf2cfa03771267 (patch)
tree72e6325a449aea35b7ad643d9ba4cbfe0343edcb /packaging
parentFixed Win32 installer since revision number reinstanted in inkscape-version.c... (diff)
downloadinkscape-467fb04dcf5fea48989aae39daaf2cfa03771267.tar.gz
inkscape-467fb04dcf5fea48989aae39daaf2cfa03771267.zip
Win32 installer: added a smidgeon more error-proofing with BZR_REVISION if INKSCAPE_VERSION is specified manually.
(bzr r9176)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/win32/inkscape.nsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/packaging/win32/inkscape.nsi b/packaging/win32/inkscape.nsi
index 111e46e25..8074a480f 100755
--- a/packaging/win32/inkscape.nsi
+++ b/packaging/win32/inkscape.nsi
@@ -153,6 +153,9 @@ ReserveFile "${NSISDIR}\Plugins\UserInfo.dll"
; Check for the Bazaar revision number for lp:inkscape {{{3
${!ifexist} ..\..\.bzr\branch\last-revision
!if `${BZR_REVISION}` == ``
+ !undef BZR_REVISION
+ !endif
+ !ifndef BZR_REVISION
!searchparse /noerrors /file ..\..\.bzr\branch\last-revision "" BZR_REVISION " "
!if `${BZR_REVISION}` != ``
!define _FILENAME `${FILENAME}-r${BZR_REVISION}`