Print this page
XXX Remove nawk(1)

@@ -35,11 +35,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/build${client_dest}
         else
                 savepath=$PKGSAV/build${dest}
         fi