diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-02-15 12:47:23 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-02-15 12:47:23 +0000 |
commit | c240c21d77f934227a2aae07d36cafe4339674a5 (patch) | |
tree | 3c9271b051695a2c8ce1866f63f21278d0529f99 | |
parent | 0f13276219f5bb52a1cf6a37ebc05ae9ca5bfd51 (diff) | |
download | midipix_build-c240c21d77f934227a2aae07d36cafe4339674a5.tar.bz2 midipix_build-c240c21d77f934227a2aae07d36cafe4339674a5.tar.xz |
subr/build_init.subr:buildp_init_getopts(): split -p jobs from -P due to getopts(1) constraints.
-rw-r--r-- | subr/build_init.subr | 6 |
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."; |