From 79fa4d5c4a4ba152155d29c74208b6abef3f4d60 Mon Sep 17 00:00:00 2001 From: David Adam Date: Wed, 25 May 2016 16:51:04 +0000 Subject: make_tarball: allow output to an environment-controlled path --- build_tools/make_tarball.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_tools/make_tarball.sh b/build_tools/make_tarball.sh index 5bbe9ebe..1231f585 100755 --- a/build_tools/make_tarball.sh +++ b/build_tools/make_tarball.sh @@ -4,6 +4,7 @@ # We use git to output a tree. But we also want to build the user documentation # and put that in the tarball, so that nobody needs to have doxygen installed # to build it. +# Outputs to $FISH_ARTEFACT_PATH or ~/fish_built by default # Exit on error set -e @@ -23,7 +24,8 @@ VERSION=`git describe --dirty 2>/dev/null` prefix="fish-$VERSION" # The path where we will output the tar file -path=~/fish_built/$prefix.tar +# Defaults to ~/fish_built +path=${FISH_ARTEFACT_PATH:-~/fish_built}/$prefix.tar # Clean up stuff we've written before rm -f "$path" "$path".gz -- cgit v1.2.3