]> git.saurik.com Git - wxWidgets.git/blobdiff - distrib/scripts/pre-flight.sh
Removed unused Symantec (*.sc) build system. Symantec C++ is now replaced by DigitalMars.
[wxWidgets.git] / distrib / scripts / pre-flight.sh
index cb141c3e8eb7f49b82bc05605672c68f193735ce..630bd70fe14cc41bed53cccab66f0105cb2e7d1b 100755 (executable)
@@ -8,6 +8,7 @@ fi
 echo "$WX_TEMP_DIR"
 
 START_DIR="$PWD"
+SCRIPTDIR=${START_DIR}/scripts
 WX_WEB_DIR=$WX_TEMP_DIR/wxWebSite
 WX_SRC_DIR=$WX_TEMP_DIR/wxWidgets
 
@@ -61,6 +62,8 @@ cd $WX_TEMP_DIR
 export APPDIR=$WX_TEMP_DIR/wxWidgets
 export WXWIN=$WX_TEMP_DIR/wxWidgets
 export VERSION=$BUILD_VERSION
+export SCRIPTDIR=${SCRIPTDIR}
+
 #remove old files
 rm -rf $APPDIR/deliver/*
 rm -rf $START_DIR/$DIST_DIR/*
@@ -68,7 +71,7 @@ rm -rf $START_DIR/$DIST_DIR/*
 tar czf $START_DIR/$DIST_DIR/wxWidgets-snapshot-$BUILD_VERSION.tar.gz `basename $APPDIR`
 
 #export DESTDIR=$STAGING_DIR
-cp $START_DIR/scripts/create_archives.sh $APPDIR/distrib/scripts
+cp $SCRIPTDIR/create_archives.sh $APPDIR/distrib/scripts
 chmod +x $APPDIR/distrib/scripts/create_archives.sh
 $APPDIR/distrib/scripts/create_archives.sh --all
 
@@ -77,7 +80,7 @@ cp $APPDIR/deliver/*.zip $START_DIR/$DIST_DIR
 cp $APPDIR/deliver/*.tar.gz $START_DIR/$DIST_DIR
 cp $APPDIR/deliver/*.tar.bz2 $START_DIR/$DIST_DIR
 
-echo "Tarball located at: $WX_TARBALL"
+echo "Tarballs located at: $START_DIR/$DIST_DIR"
 
 if [ ! -f $WX_TARBALL ]; then
   echo "ERROR: wxAll tarball was not created by pre-flight.sh. Build cannot continue."