Make archive top level dirs match that of the archive name.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2006-09-02 17:38:35 +00:00
parent 5df3dbf91e
commit e87f080a88

View File

@@ -126,7 +126,7 @@ dospinport(){
portfiles="/tmp/wx$port.files"
getfilelist "$port" "$portfiles"
TMPFILESDIR=/tmp/wx$port/wxWidgets-$VERSION
TMPFILESDIR=/tmp/wx$port/wx$portname-$VERSION
rm -rf $TMPFILESDIR
mkdir -p $TMPFILESDIR
@@ -140,7 +140,7 @@ dospinport(){
pushd /tmp/wx$port
# use DOS line endings for text files for MSW archives.
if [ $port = "msw" ]; then
pushd /tmp/wx$port/wxWidgets-$VERSION
pushd /tmp/wx$port/wx$portname-$VERSION
for file in `cat /tmp/textfiles`; do
unix2dos $file
done
@@ -149,7 +149,7 @@ dospinport(){
echo "Creating wx$portname-$VERSION.zip..."
zip $ZIPFLAGS -r -9 $APPDIR/deliver/wx$portname-$VERSION.zip .
echo "Creating wx$portname-$VERSION.tar.gz..."
tar czf $APPDIR/deliver/wx$portname-$VERSION.tar.gz wxWidgets-$VERSION
tar czf $APPDIR/deliver/wx$portname-$VERSION.tar.gz wx$portname-$VERSION
echo "Creating wx$portname-$VERSION.tar.bz2..."
tar ch wxWidgets-$VERSION | bzip2 -f9 > $APPDIR/deliver/wx$portname-$VERSION.tar.bz2
popd