fish-shell/build_tools/make_tarball.sh

9 lines
225 B
Bash
Executable file

#!/bin/sh
rm -f /tmp/fish_fish.tar /tmp/fish_fish.tar.gz
if git archive --format=tar fish_fish | gzip - > /tmp/fish_fish.tar
then
echo "Tarball written to /tmp/fish_fish.tar.gz"
else
echo "Tarball could not be written"
fi