]> git.saurik.com Git - wxWidgets.git/commitdiff
Make archive top level dirs match that of the archive name.
authorKevin Ollivier <kevino@theolliviers.com>
Sat, 2 Sep 2006 17:38:35 +0000 (17:38 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sat, 2 Sep 2006 17:38:35 +0000 (17:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/scripts/create_archives.sh

index ef6b589ee8be5b2772b3b010b2f102a65c15c6cf..1ce1508e3e34ace5b02e0c6788f4d81710c3fe53 100755 (executable)
@@ -126,7 +126,7 @@ dospinport(){
     portfiles="/tmp/wx$port.files"
     getfilelist "$port" "$portfiles"
     
     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
 
     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
     # 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
         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..."
     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
     echo "Creating wx$portname-$VERSION.tar.bz2..."
     tar ch wxWidgets-$VERSION | bzip2 -f9 > $APPDIR/deliver/wx$portname-$VERSION.tar.bz2
     popd