Print this page
XXX Remove nawk(1)

@@ -39,11 +39,11 @@
                 # Strip PKG_INSTALL_ROOT from dest if installation is to an
                 # alternate root.
 
                 if [ -n "$PKG_INSTALL_ROOT" -a "$PKG_INSTALL_ROOT" != "/" ]; then
                         client_dest=`echo $dest | \
-                                /usr/bin/nawk -v rootdir="$PKG_INSTALL_ROOT" '{
+                                /usr/xpg4/bin/awk -v rootdir="$PKG_INSTALL_ROOT" '{
                                     { print substr($0, length(rootdir)+1)} }'`
                         savepath=$PKGSAV/sed${client_dest}
                 else
                         savepath=$PKGSAV/sed${dest}
                 fi