r19039 - gnucash/trunk/packaging/win32 - Allow QTDIR to be defined either in pure windows format (c:\xyz\def) or unix format (/c/xyz/def) without ISS bailing out.
Geert Janssens
gjanssens at code.gnucash.org
Mon Apr 19 13:41:28 EDT 2010
Author: gjanssens
Date: 2010-04-19 13:41:28 -0400 (Mon, 19 Apr 2010)
New Revision: 19039
Trac: http://svn.gnucash.org/trac/changeset/19039
Modified:
gnucash/trunk/packaging/win32/dist.sh
Log:
Allow QTDIR to be defined either in pure windows format (c:\xyz\def) or unix format (/c/xyz/def) without ISS bailing out.
Previously, only unix format worked.
Modified: gnucash/trunk/packaging/win32/dist.sh
===================================================================
--- gnucash/trunk/packaging/win32/dist.sh 2010-04-19 16:56:40 UTC (rev 19038)
+++ gnucash/trunk/packaging/win32/dist.sh 2010-04-19 17:41:28 UTC (rev 19039)
@@ -235,7 +235,7 @@
cp -a $_INSTALL_UDIR/share/{gnucash,locale,xml} $DIST_UDIR/share
cp -a $_REPOS_UDIR/packaging/win32/install-fq-mods.cmd $DIST_UDIR/bin
- _QTDIR_WIN=`echo $QTDIR | sed 's,^/\([A-Za-z]\)/,\1:/,g' `
+ _QTDIR_WIN=$(unix_path $QTDIR | sed 's,^/\([A-Za-z]\)/,\1:/,g' )
_AQBANKING_SO_EFFECTIVE=$(awk '/AQBANKING_SO_EFFECTIVE / { print $3 }' ${_AQBANKING_UDIR}/include/aqbanking/version.h )
_GWENHYWFAR_SO_EFFECTIVE=$(awk '/GWENHYWFAR_SO_EFFECTIVE / { print $3 }' ${_GWENHYWFAR_UDIR}/include/gwenhywfar3/gwenhywfar/version.h )
sed < $_BUILD_UDIR/packaging/win32/gnucash.iss \
More information about the gnucash-changes
mailing list