Applied Lee's patch to change the (often) reserved word PWD to PWDCMD,
which allows us to mess with it with impunity. Thanks!
product::
test -d dist || ${MKDIR} dist
${RM} -f dist/rawidb
- SRC=`${PWD}` RAWIDB=`${PWD}`/dist/rawidb ${MAKE} install
+ SRC=`${PWDCMD}` RAWIDB=`${PWDCMD}`/dist/rawidb ${MAKE} install
${RM} -f dist/idb
${SORT} -u +4 dist/rawidb > dist/idb
${GENDIST} -v -dist dist -idb dist/idb -sbase `pwd` -spec ${SRCDIR}/dist/hylafax.spec
PORTFUNCS
PROTOTYPES
PSPACKAGE PS
-PWD
+PWDCMD
RANLIB
REGEX
REGEXINC
test "$RMCMD" || RMCMD=`findAppDef rm $PATH rm`
test "$SORT" || SORT=`findAppDef sort $PATH sort`
test "$STRIP" || STRIP=`findAppDef strip $PATH strip`
-# NB: can't test $PWD 'cuz it's a shell variable
-PWD=`findApp pwd $PATH` || PWD=pwd
+test "$PWDCMD" || PWDCMD=`findAppDef pwd $PATH pwd`
#
# Test/verify we know how to create FIFO special files.
FUSER = @FUSER@
GREP = @GREP@
RM = @RM@
-PWD = @PWD@
+PWDCMD = @PWDCMD@
MKDIR = @MKDIR@
NAWK = @AWK@
SED = @SED@