summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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}`