From 57764418a4449a7e616cb0b802f4e5e06db4253c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 20 Sep 2005 22:39:34 +0000 Subject: [PATCH] made wx-config work in place on systems where /bin/sh is a Bourne shell (such as IRIX) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wx-config-inplace.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/wx-config-inplace.in b/wx-config-inplace.in index 28969c3eb5..06b0742631 100644 --- a/wx-config-inplace.in +++ b/wx-config-inplace.in @@ -3,7 +3,7 @@ # Name: wx-config-inplace # Purpose: wx configuration in tree search and query tool # Author: Ron -# Modified by: +# Modified by: VZ on 2005-09-21 to actually work with Bourne shell # Created: 14/9/2004 # RCS-ID: $Id$ # Copyright: (c) 2004 Ron @@ -21,11 +21,10 @@ check_dirname() printf " no longer exists.\n\n" 1>&2 exit 1 fi - ( cd $1 && pwd ) } -this_prefix=$(check_dirname "@abs_top_srcdir@") || exit -this_exec_prefix=$(check_dirname "@abs_top_builddir@") || exit +check_dirname "@abs_top_srcdir@" +check_dirname "@abs_top_builddir@" -. "$this_exec_prefix/lib/wx/config/@TOOLCHAIN_FULLNAME@" +. "@abs_top_builddir@/lib/wx/config/@TOOLCHAIN_FULLNAME@"