aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_tools
diff options
context:
space:
mode:
authorGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2016-05-25 16:49:53 +0000
committerGravatar David Adam <zanchey@ucc.gu.uwa.edu.au>2016-05-25 16:56:00 +0000
commit23de5908cfd7f45eb879f28a6aa75187ed5a3262 (patch)
tree3f15cfd9d0596d177d62a0ef8ae7f39c7227be2c /build_tools
parent0d5ef3f43eecf1cd2f2e87ebe0b3c2b998f0efbd (diff)
make_tarball: minor cleanup
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/make_tarball.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/build_tools/make_tarball.sh b/build_tools/make_tarball.sh
index 3e070c11..5bbe9ebe 100755
--- a/build_tools/make_tarball.sh
+++ b/build_tools/make_tarball.sh
@@ -8,20 +8,19 @@
# Exit on error
set -e
-# We wil generate a tarball with a prefix "fish"
+# We wil generate a tarball with a prefix "fish-VERSION"
# git can do that automatically for us via git-archive
-# but to get the documentation in, we need to make a symlink called "fish"
+# but to get the documentation in, we need to make a symlink called "fish-VERSION"
# and tar from that, so that the documentation gets the right prefix
# Get the current directory, which we'll use for symlinks
wd="$PWD"
-# The name of the prefix, which is the directory that you get when you untar
-prefix="fish"
-
# Get the version from git-describe
VERSION=`git describe --dirty 2>/dev/null`
-prefix="$prefix-$VERSION"
+
+# The name of the prefix, which is the directory that you get when you untar
+prefix="fish-$VERSION"
# The path where we will output the tar file
path=~/fish_built/$prefix.tar