mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Windows build: be sure to restore msys environment even when the build
fails BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20711 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
534acbdaa0
commit
63fa79a493
@ -56,8 +56,8 @@ Please set AQBANKING_WITH_QT to yes and rerun install.sh first."
|
||||
add_to_env $_GNOME_UDIR/bin PATH # gconftool-2
|
||||
add_to_env $_EXETYPE_UDIR/bin PATH # exetype
|
||||
|
||||
PID=$$
|
||||
configure_msys "$PID" "$_MINGW_WFSDIR"
|
||||
_PID=$$
|
||||
configure_msys "$_PID" "$_MINGW_WFSDIR"
|
||||
}
|
||||
|
||||
function dist_aqbanking() {
|
||||
|
@ -2,6 +2,12 @@
|
||||
|
||||
set -e
|
||||
|
||||
function on_error() {
|
||||
setup "An error occurred, exiting."
|
||||
restore_msys "$_PID"
|
||||
}
|
||||
trap on_error ERR
|
||||
|
||||
function qpushd() { pushd "$@" >/dev/null; }
|
||||
function qpopd() { popd >/dev/null; }
|
||||
function unix_path() { echo "$*" | sed 's,^\([A-Za-z]\):,/\1,;s,\\,/,g'; }
|
||||
@ -44,7 +50,7 @@ for step in "${steps[@]}" ; do
|
||||
done
|
||||
|
||||
setup Restore MSYS
|
||||
restore_msys "$PID"
|
||||
restore_msys "$_PID"
|
||||
|
||||
qpopd
|
||||
|
||||
|
0
packaging/win32/install-impl.sh
Normal file → Executable file
0
packaging/win32/install-impl.sh
Normal file → Executable file
@ -10,6 +10,12 @@
|
||||
|
||||
set -e
|
||||
|
||||
function on_error() {
|
||||
setup "An error occurred, exiting."
|
||||
restore_msys "$_PID"
|
||||
}
|
||||
trap on_error ERR
|
||||
|
||||
echo -n "Build Starting at "
|
||||
date
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user