aboutsummaryrefslogtreecommitdiff
path: root/snag/scripts/run_pkg_build.sh
blob: d48d831c0a44042be27c3025f7ecc94a58bb081d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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