Don't match on "version" when found as a value.
Approved by: bapt
This commit is contained in:
parent
bc7f5841b3
commit
2cc77b79b8
@ -1272,8 +1272,10 @@ create-world-packages:
|
||||
-e "s/%PWD_MKDB_ENDIAN%/$${pwd_arg}/g" \
|
||||
${SRCDIR}/release/packages/$${pkgname}.ucl \
|
||||
> ${DESTDIR}/$${pkgname}.ucl ; \
|
||||
awk -F\" '/name/ { printf("===> Creating %s-", $$2) } /version/ {print $$2 }' \
|
||||
${DESTDIR}/$${pkgname}.ucl ; \
|
||||
awk -F\" ' \
|
||||
/^name/ { printf("===> Creating %s-", $$2); next } \
|
||||
/^version/ { print $$2; next } \
|
||||
' ${DESTDIR}/$${pkgname}.ucl ; \
|
||||
pkg -o ABI_FILE=${DESTDIR}/bin/sh \
|
||||
create -M ${DESTDIR}/$${pkgname}.ucl \
|
||||
-p ${DESTDIR}/$${pkgname}.plist \
|
||||
|
Loading…
Reference in New Issue
Block a user