From e0ac513cb66e9d8e3ccfdbb19ca3dffee00fa488 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Thu, 7 Sep 2006 15:49:51 +0000 Subject: [PATCH] After installation, try to create a suitable command.com script. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14816 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packaging/win32/install.sh b/packaging/win32/install.sh index 6ea8e05cac..5b1c3dc37e 100644 --- a/packaging/win32/install.sh +++ b/packaging/win32/install.sh @@ -719,6 +719,16 @@ function inst_gnucash() { # Remove the dependency_libs line from the installed .la files # because otherwise loading the modules literally takes hours. for A in *.la; do grep -v dependency_libs $A > tmp ; mv tmp $A; done + find . -name '*.a' -exec rm '{}' ';' + qpopd + + # Create a startup script that works without the msys shell + qpushd ${_GNUCASH_WFSDIR}/bin + echo "set PATH=${GNUCASH_DIR}\\bin;${GNUCASH_DIR}\\lib\\bin;${GOFFICE_DIR}\\bin;${LIBGSF_DIR}\\bin;${GWRAP_DIR}\\bin;${GNOME_DIR}\\bin;${LIBXML2_DIR}\\bin;${GUILE_DIR}\\bin;${REGEX_DIR}\\bin" > gnucash.bat + echo "set GUILE_WARN_DEPRECATED=no" >> gnucash.bat + echo "set GNC_MODULE_PATH=${GNUCASH_DIR}\\lib\\gnucash" >> gnucash.bat + echo "set GUILE_LOAD_PATH=${GUILE_DIR}\\share\\guile\\site;${GNUCASH_DIR}\\share\\gnucash\\guile-modules;${GNUCASH_DIR}\\share\\gnucash\\scm;%GUILE_LOAD_PATH%" >> gnucash.bat + echo "start gnucash-bin" >> gnucash.bat qpopd }