From bf28fe7ed44d95ad4df8e25f8de22d04a5460f06 Mon Sep 17 00:00:00 2001 From: Alsey Coleman Miller Date: Sat, 21 May 2022 10:38:45 -0700 Subject: [PATCH] Fixed generating tar --- build-tar.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build-tar.sh b/build-tar.sh index a987263..a69c2c3 100755 --- a/build-tar.sh +++ b/build-tar.sh @@ -8,10 +8,11 @@ set -e SWIFT_INSTALL_PREFIX=$SRC_ROOT/build/swift-armv7-install/usr LIBDISPATCH_INSTALL_PREFIX=$SRC_ROOT/build/libdispatch-armv7-install/usr FOUNDATION_INSTALL_PREFIX=$SRC_ROOT/build/foundation-armv7-install/usr -INSTALL_PREFIX=$SRC_ROOT/build/swift-install +INSTALL_PREFIX=$SRC_ROOT/build/swift-install/usr INSTALL_TAR=$SRC_ROOT/build/swift-armv7.tar.gz # Combine build output +rm -rf $INSTALL_TAR rm -rf $INSTALL_PREFIX mkdir -p $INSTALL_PREFIX cp -rf $SWIFT_INSTALL_PREFIX/* $INSTALL_PREFIX/ @@ -19,4 +20,5 @@ cp -rf $LIBDISPATCH_INSTALL_PREFIX/* $INSTALL_PREFIX/ cp -rf $FOUNDATION_INSTALL_PREFIX/* $INSTALL_PREFIX/ # compress -tar -czvf $INSTALL_TAR $INSTALL_PREFIX +cd $SRC_ROOT/build/swift-install +tar -czvf $INSTALL_TAR .