diff options
Diffstat (limited to 'snag/scripts/run_pkg_install.sh')
| -rwxr-xr-x | snag/scripts/run_pkg_install.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/snag/scripts/run_pkg_install.sh b/snag/scripts/run_pkg_install.sh new file mode 100755 index 0000000..d48d831 --- /dev/null +++ b/snag/scripts/run_pkg_install.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +# reads a package description script and runs the configure, build, and install +# steps. intended only for use by snag program +if [ -z "$1" ]; then + echo "Usage: $0 <description script>" >&2 + exit 1 +fi + +# load the description script +. $1 + +# run all install steps for package +configure +build +install |
