]> git.saurik.com Git - wxWidgets.git/commitdiff
allow absolute path
authorChris Elliott <biol75@york.ac.uk>
Fri, 30 Mar 2007 08:09:16 +0000 (08:09 +0000)
committerChris Elliott <biol75@york.ac.uk>
Fri, 30 Mar 2007 08:09:16 +0000 (08:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/scripts/pre-flight.sh

index 66dc24d192e95214c0cfc82fff37d2f67109f96d..1a80a7cf497215fc83178c47653154a6c9fb33bb 100755 (executable)
@@ -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