mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 02:13:38 +08:00
2d3d6e1c17
Updated make_pkg.sh to use it
18 lines
398 B
Bash
Executable File
18 lines
398 B
Bash
Executable File
#!/bin/sh -x
|
|
|
|
rm -rf /tmp/fish_pkg
|
|
mkdir -p /tmp/fish_pkg/
|
|
if make install prefix=/tmp/fish_pkg/usr/local/
|
|
then
|
|
echo "Root written to /tmp/fish_pkg/"
|
|
if /Developer/usr/bin/packagemaker --doc ./build_tools/fish_shell.pmdoc --out ~/fish_installer.pkg
|
|
then
|
|
echo "Package written to ~/fish_installer.pkg"
|
|
else
|
|
echo "Package could not be written"
|
|
fi
|
|
|
|
else
|
|
echo "Root could not be written"
|
|
fi
|