fish-shell/build_tools/make_tarball.sh

10 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