From 23de5908cfd7f45eb879f28a6aa75187ed5a3262 Mon Sep 17 00:00:00 2001 From: David Adam Date: Wed, 25 May 2016 16:49:53 +0000 Subject: make_tarball: minor cleanup --- build_tools/make_tarball.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'build_tools') 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 -- cgit v1.2.3