From b8c73e75d01f018d16793b028847b01bdbefa70f Mon Sep 17 00:00:00 2001 From: Chris Elliott Date: Fri, 30 Mar 2007 08:09:16 +0000 Subject: [PATCH] allow absolute path git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- distrib/scripts/pre-flight.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/distrib/scripts/pre-flight.sh b/distrib/scripts/pre-flight.sh index 66dc24d192..1a80a7cf49 100755 --- a/distrib/scripts/pre-flight.sh +++ b/distrib/scripts/pre-flight.sh @@ -2,12 +2,13 @@ if [ "$VERSION" = "" ]; then echo "Including build-environ.cfg" - . scripts/build-environ.cfg + . `dirname $0`/build-environ.cfg fi echo "temp dir is $WX_TEMP_DIR" - START_DIR="$PWD" +echo "start dir is $START_DIR" + SCRIPTDIR=${START_DIR}/scripts WX_WEB_DIR=$WX_TEMP_DIR/wxWebSite WX_SRC_DIR=$WX_TEMP_DIR/wxWidgets