mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 07:04:29 +00:00
4afdcf56fc
Fix the make_pkg script to actually build an installable package that doesn't immediately barf
17 lines
398 B
Bash
Executable file
17 lines
398 B
Bash
Executable file
#!/bin/sh -x
|
|
|
|
rm -rf /tmp/fish_pkg
|
|
mkdir -p /tmp/fish_pkg/
|
|
if make DESTDIR=/tmp/fish_pkg install
|
|
then
|
|
echo "Root written to /tmp/fish_pkg/"
|
|
if /Developer/usr/bin/packagemaker --doc ./build_tools/fish_shell.pmdoc --out ~/fish_built/fishfish.pkg
|
|
then
|
|
echo "Package written to ~/fish_built/fishfish.pkg"
|
|
else
|
|
echo "Package could not be written"
|
|
fi
|
|
|
|
else
|
|
echo "Root could not be written"
|
|
fi
|