restore snapshot and remove 2 toplevels dirs from tarball

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott 2006-07-20 10:52:18 +00:00
parent 4f768b1a24
commit 7603e74bce

View File

@ -61,9 +61,11 @@ cd $WX_TEMP_DIR
export APPDIR=$WX_TEMP_DIR/wxWidgets
export WXWIN=$WX_TEMP_DIR/wxWidgets
export VERSION=$BUILD_VERSION
#remove old files
rm -rf $APPDIR/deliver/*
rm -rf $START_DIR/$DIST_DIR/*
tar czvf $START_DIR/$DIST_DIR/wxWidgets-$BUILD_VERSION-snapshot.tar.gz $APPDIR
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
@ -71,7 +73,6 @@ chmod +x $APPDIR/distrib/scripts/create_archives.sh
$APPDIR/distrib/scripts/create_archives.sh --all
# copy all the archives we created to the master machine's deliver directory
rm -rf $START_DIR/$DIST_DIR/*
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