fish-shell/build_tools/make_tarball.sh
ridiculousfish 4912967eab Large set of changes related to making fish relocatable, and improving the build and install story.
- etc/config.fish and share/config.fish are now "universal" and no longer reference install paths or need to be touched by autotools. They've been removed from config.fish.in to config.fish.
- fish now attempts to determine __fish_datadir and __fish_sysconfdir relative to the path of the fish executable itself (typically by walking up one directory). This means that you can copy the directory hierarchy around and things will still work. The compiled-in paths are used as a backup.
- The fish Xcode project now can build fish natively, without needing autotools.
- Version bumped to 2.0
2012-07-08 15:20:39 -07:00

11 lines
241 B
Bash
Executable file

#!/bin/sh
path=~/fish_built/fishfish-2.0.tar.gz
rm -f "$path"
if git archive --format=tar --prefix=fishfish/ master | gzip - > "$path"
then
echo "Tarball written to $path"
openssl sha1 "$path"
else
echo "Tarball could not be written"
fi