r15309 - gnucash/trunk/packaging/win32 - Have dist.sh run Inno Setup Compiler, and adjusting final file name.

Christian Stimming cstim at cvs.gnucash.org
Thu Jan 4 06:25:19 EST 2007


Author: cstim
Date: 2007-01-04 06:25:17 -0500 (Thu, 04 Jan 2007)
New Revision: 15309
Trac: http://svn.gnucash.org/trac/changeset/15309

Modified:
   gnucash/trunk/packaging/win32/dist.sh
Log:
Have dist.sh run Inno Setup Compiler, and adjusting final file name.

Modified: gnucash/trunk/packaging/win32/dist.sh
===================================================================
--- gnucash/trunk/packaging/win32/dist.sh	2007-01-03 13:32:03 UTC (rev 15308)
+++ gnucash/trunk/packaging/win32/dist.sh	2007-01-04 11:25:17 UTC (rev 15309)
@@ -159,8 +159,17 @@
         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



More information about the gnucash-changes mailing list