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