Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | ||
3 | TOPDIR="$(cd $(dirname $(which $0)); pwd)" | |
4 | ||
5 | PKGINFO=$TOPDIR/pkginfo | |
6 | ||
7 | PKGMK_CONF=$TOPDIR/src/pkgmk.conf | |
8 | . $PKGMK_CONF | |
9 | ||
10 | if [ -z "$CLFS" ]; then | |
11 | echo "Error, '\$CLFS' value not found" | |
12 | echo "Please configure '$PKGMK_CONF' before use $(basename $0)" | |
13 | exit 1 | |
14 | fi | |
15 | ||
16 | $PKGINFO -r $CLFS $@ | |
17 | ||
18 | # End of file |