diff --git a/runtests.SH b/runtests.SH index 71f41d1d428f..245440bd0612 100755 --- a/runtests.SH +++ b/runtests.SH @@ -40,8 +40,9 @@ export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed mysel # descendents of this script run cpan/ExtUtils-Constant/t/Constant.t # which itelf invokes make, the warnings ensue. -unset MAKEFLAGS - +if [ "x$MAKEFLAGS" != "x" ]; then + unset MAKEFLAGS +fi case $# in 0)