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