Print this page
XXX Remove nawk(1)
*** 232,242 ****
# are specified in the open packages; save that list to a temporary
# file $needdirs.
#
MACH=$(uname -p)
(cd "$SRC/pkg/packages.$MACH"; \
! nawk '/^dir/ {sub(/.+ path=/, ""); print $1;}' *.metadata.*.redist | \
sort -u > "$needdirs")
#
# Step 2: go to our closed directory, and find all the subdirectories,
# filtering out the ones needed by the open packages (saved in that
--- 232,242 ----
# are specified in the open packages; save that list to a temporary
# file $needdirs.
#
MACH=$(uname -p)
(cd "$SRC/pkg/packages.$MACH"; \
! /usr/xpg4/bin/awk '/^dir/ {sub(/.+ path=/, ""); print $1;}' *.metadata.*.redist | \
sort -u > "$needdirs")
#
# Step 2: go to our closed directory, and find all the subdirectories,
# filtering out the ones needed by the open packages (saved in that