|
|
|
@ -88,7 +88,7 @@ echo "Package name: $package"
|
|
|
|
|
if [ ! -e $TARBALL_DIR/$package.tar.$TAR_SUFFIX ]; then |
|
|
|
|
echo "Creating tarball in $TARBALL_DIR." |
|
|
|
|
trap "rm $TARBALL_DIR/tar-$$; exit 1" INT |
|
|
|
|
tar c --owner=root --group=users --exclude .git --exclude .gitmodules --transform "s|^\.|$package|" ./ | \ |
|
|
|
|
tar c --owner=root --group=users --exclude .git --exclude .gitmodules --transform "s|^\.\(/\|$\)|$package\1|" ./ | \ |
|
|
|
|
$COMPRESS -9 >$TARBALL_DIR/tar-$$ && \ |
|
|
|
|
mv $TARBALL_DIR/tar-$$ $TARBALL_DIR/$package.tar.$TAR_SUFFIX || \ |
|
|
|
|
rm $TARBALL_DIR/tar-$$ |
|
|
|
|