r19095 - gnucash/trunk/packaging/win32 - Add ./ to sourced files, so that they are found when cross-compiling.

Geert Janssens gjanssens at code.gnucash.org
Mon May 3 16:07:49 EDT 2010


Author: gjanssens
Date: 2010-05-03 16:07:49 -0400 (Mon, 03 May 2010)
New Revision: 19095
Trac: http://svn.gnucash.org/trac/changeset/19095

Modified:
   gnucash/trunk/packaging/win32/defaults.sh
   gnucash/trunk/packaging/win32/install.sh
Log:
Add ./ to sourced files, so that they are found when cross-compiling.

Modified: gnucash/trunk/packaging/win32/defaults.sh
===================================================================
--- gnucash/trunk/packaging/win32/defaults.sh	2010-05-03 19:50:12 UTC (rev 19094)
+++ gnucash/trunk/packaging/win32/defaults.sh	2010-05-03 20:07:49 UTC (rev 19095)
@@ -34,7 +34,7 @@
 [ "$__SOURCED_DEFAULTS" ] && return
 __SOURCED_DEFAULTS=1
 
-[ -f "custom.sh" ] && . custom.sh || true
+[ -f "./custom.sh" ] && . ./custom.sh || true
 
 set_default GLOBAL_DIR c:\\soft
 set_default TMP_DIR $GLOBAL_DIR\\tmp

Modified: gnucash/trunk/packaging/win32/install.sh
===================================================================
--- gnucash/trunk/packaging/win32/install.sh	2010-05-03 19:50:12 UTC (rev 19094)
+++ gnucash/trunk/packaging/win32/install.sh	2010-05-03 20:07:49 UTC (rev 19095)
@@ -12,8 +12,8 @@
 function unix_path() { echo "$*" | sed 's,^\([A-Za-z]\):,/\1,;s,\\,/,g'; }
 
 qpushd "$(dirname $(unix_path "$0"))"
-. functions.sh
-. defaults.sh
+. ./functions.sh
+. ./defaults.sh
 
 register_env_var ACLOCAL_FLAGS " "
 register_env_var AUTOTOOLS_CPPFLAGS " "



More information about the gnucash-changes mailing list