tarball contents should match the filename

This commit is contained in:
David Adam (zanchey) 2013-08-11 23:23:28 +08:00
parent b1d8492c3f
commit a00b979bb6

View file

@ -21,9 +21,10 @@ prefix="fish"
# Get the version from git-describe
VERSION=`git describe --tags --dirty 2>/dev/null`
prefix="$prefix-$VERSION"
# The path where we will output the tar file
path=~/fish_built/fish-$VERSION.tar
path=~/fish_built/$prefix.tar
# Clean up stuff we've written before
rm -f "$path" "$path".gz