From d8cff246ba69418d303afaaa859b049710455596 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Thu, 11 Mar 2010 21:16:28 +1100 Subject: [PATCH] Win32 installer: added a smidgeon more error-proofing with BZR_REVISION if INKSCAPE_VERSION is specified manually. --- packaging/win32/inkscape.nsi | 3 +++ 1 file changed, 3 insertions(+) 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}` -- 2.30.2