From 9d8cbef00e06e99947d287042377c86ae3d75c25 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Wed, 13 Feb 2008 18:42:04 +0000 Subject: [PATCH] Blind fix to improve wx-config's Bourne shell compatibility. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wx-config.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/wx-config.in b/wx-config.in index 1743d670ea..bd9a0b67ee 100755 --- a/wx-config.in +++ b/wx-config.in @@ -775,7 +775,8 @@ if not user_mask_fits "$this_config" ; then decho "--> $prefix/bin/$_last_chance $_legacy_args" fi - export WXCONFIG_DELEGATED=yes + WXCONFIG_DELEGATED=yes + export WXCONFIG_DELEGATED $prefix/bin/$_last_chance $_legacy_args exit @@ -814,7 +815,8 @@ if not user_mask_fits "$this_config" ; then decho "--> $wxconfdir/$best_delegate $*" fi - export WXCONFIG_DELEGATED=yes + WXCONFIG_DELEGATED=yes + export WXCONFIG_DELEGATED $wxconfdir/$best_delegate $* exit fi @@ -836,7 +838,8 @@ if not user_mask_fits "$this_config" ; then decho "--> $wxconfdir/`find_eligible_delegates $configmask` $*" fi - export WXCONFIG_DELEGATED=yes + WXCONFIG_DELEGATED=yes + export WXCONFIG_DELEGATED $wxconfdir/`find_eligible_delegates $configmask` $* exit fi