summaryrefslogtreecommitdiff
path: root/t/mmodely.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/mmodely.sh')
-rwxr-xr-xt/mmodely.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/t/mmodely.sh b/t/mmodely.sh
index 6c6191520..25139aa88 100755
--- a/t/mmodely.sh
+++ b/t/mmodely.sh
@@ -81,7 +81,7 @@ cat >mylex.sh <<'END'
echo "$@" >lex.yy.c
END
chmod +x myyacc.sh mylex.sh
-PATH="`pwd`$PATH_SEPARATOR$PATH"
+PATH=$(pwd)$PATH_SEPARATOR$PATH; export PATH
# "make maintainer-clean; ./configure; make" should always work,
# per GNU Standard.
@@ -89,5 +89,7 @@ $MAKE maintainer-clean
./configure
YACC="myyacc.sh" LEX="mylex.sh" \
LEX_OUTPUT_ROOT='lex.yy' $MAKE -e zardoz.c joe.c
-grep zardoz.y zardoz.c
-grep joe.l joe.c
+$FGREP zardoz.y zardoz.c
+$FGREP joe.l joe.c
+
+: