aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_tools/make_tarball.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build_tools/make_tarball.sh')
-rwxr-xr-xbuild_tools/make_tarball.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/build_tools/make_tarball.sh b/build_tools/make_tarball.sh
index 9b8dd296..c7400292 100755
--- a/build_tools/make_tarball.sh
+++ b/build_tools/make_tarball.sh
@@ -1,9 +1,11 @@
#!/bin/sh
-rm -f ~/fish_built/fishfish.tar.gz
-if git archive --format=tar --prefix=fishfish/ master | gzip - > ~/fish_built/fishfish.tar.gz
+path=~/fish_built/fishfish-2.0.tar.gz
+rm -f "$path"
+if git archive --format=tar --prefix=fishfish/ master | gzip - > "$path"
then
- echo "Tarball written to ~/fish_built/fishfish.tar.gz"
+ echo "Tarball written to $path"
+ openssl sha1 "$path"
else
echo "Tarball could not be written"
fi