summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--subr/build_init.subr6
1 files changed, 3 insertions, 3 deletions
diff --git a/subr/build_init.subr b/subr/build_init.subr
index 1932c49d..8e3adca5 100644
--- a/subr/build_init.subr
+++ b/subr/build_init.subr
@@ -144,7 +144,7 @@ buildp_init_getopts() {
*) cat etc/build.usage; exit 1; ;;
esac; shift $((${OPTIND}-1)); OPTIND=1;
else
- _rc=1; _status="Error: invalid argument \`${1}'."; break;
+ break;
fi;
done;
if [ "${_rc}" -eq 0 ]; then
@@ -165,8 +165,8 @@ buildp_init_prereqs() {
awk bunzip2 cat chmod cp date find git grep \
gunzip gzip hostname install kill ln lzip make \
mkdir mkfifo mv openssl paste patch pgrep pkill \
- printf readlink rm sed seq shuf sort stat tail \
- tar test touch tr wget xz >/dev/null; then
+ printf readlink rm sed seq sort stat tail tar \
+ test touch tr wget xz >/dev/null; then
_rc=4; _status="Error: missing prerequisite package(s).";
elif ! awk -V 2>/dev/null | grep -q "^GNU Awk "; then
_rc=5; _status="Error: awk(1) in \$PATH must be GNU Awk.";