aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 5c017b8..898baae 100755
--- a/build.sh
+++ b/build.sh
@@ -43,11 +43,13 @@ echo 'java -jar tunkki.jar $@' >> "bin/tunkki"
chmod +x "bin/tunkki"
+# Create tarball
+TARBALL="$RELEASE.tar.gz"
cd ..
echo "Creating tarball..."
-tar cvf "$RELEASE.tar" "$RELEASE"
+tar zcvf "$TARBALL" "$RELEASE"
echo "Done."
echo "Installation directory: $TARGET/$RELEASE"
-echo "Installation package: $TARGET/$RELEASE.tar"
+echo "Installation package: $TARGET/$TARBALL"
cd ..