This commit is contained in:
emmett1
2020-01-08 18:03:46 +08:00
parent 058f2f0763
commit 7191d746a1

View File

@@ -316,6 +316,7 @@ EOF
print_runhelp_msg() {
echo "Run '$(basename $0) help' to see available options."
exit 2
}
BUILD_SCRIPT="spkgbuild"
@@ -332,7 +333,6 @@ opts=$1
if [ -z "$opts" ]; then
print_runhelp_msg
exit 2
fi
shift
@@ -341,7 +341,6 @@ if [ $(type -t pkg_$opts) ]; then
pkg_$opts "$@"
else
print_runhelp_msg
exit 2
fi
exit $?