From 455e2eef53f80849f6356c535a54c178e532fb72 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Thu, 4 Jan 2007 11:25:17 +0000 Subject: [PATCH] Have dist.sh run Inno Setup Compiler, and adjusting final file name. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15309 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/dist.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/packaging/win32/dist.sh b/packaging/win32/dist.sh index 91b6fef927..243d3c7cb1 100644 --- a/packaging/win32/dist.sh +++ b/packaging/win32/dist.sh @@ -159,8 +159,17 @@ function finish() { mv $file.new $file done - echo "You can now run the Inno Setup Compiler for creating the setup.exe:" - echo ${_INNO_UDIR}/iscc ${_GNUCASH_UDIR}/gnucash.iss + echo "Now running the Inno Setup Compiler for creating the setup.exe" + ${_INNO_UDIR}/iscc ${_GNUCASH_UDIR}/gnucash.iss + + # And changing output filename + SVN_REV=`grep GNUCASH_SVN_REV ${_BUILD_UDIR}/src/gnome-utils/gnc-svninfo.h | cut -d" " -f3 | cut -d\" -f2 ` + SETUP_FILENAME="gnucash-2.0.99-svn-r${SVN_REV}-setup.exe" + qpushd ${_GNUCASH_UDIR} + mv gnucash-2.0.99-setup.exe ${SETUP_FILENAME} + qpopd + echo "Final resulting Setup program is:" + echo ${_GNUCASH_UDIR}/${SETUP_FILENAME} } prepare