From 467fb04dcf5fea48989aae39daaf2cfa03771267 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Thu, 11 Mar 2010 21:16:28 +1100 Subject: Win32 installer: added a smidgeon more error-proofing with BZR_REVISION if INKSCAPE_VERSION is specified manually. (bzr r9176) --- packaging/win32/inkscape.nsi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packaging') 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}` -- cgit v1.2.3