summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-10-19 17:09:40 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-10-19 17:09:40 +0000
commit9b48265eb044135ae722a1090a697fb27108a1d0 (patch)
tree2efe53657c26504f1c0f4034841e2fe179118fe6
parent72b9ba6fdb0e46c91f8ef4d98924b500ee8b564b (diff)
Use env to set the PATH since we run configure in a subshell
-rw-r--r--gnu/usr.bin/perl/Makefile.bsd-wrapper6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper
index aa4844efc15..7f06f0e3c5c 100644
--- a/gnu/usr.bin/perl/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/perl/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.22 1998/10/18 20:02:34 millert Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.23 1998/10/19 17:09:39 millert Exp $
#
# Build wrapper for Perl 5.003.
#
@@ -106,8 +106,8 @@ all: ${GENERATED}
(cd ${.OBJDIR}; ${MAKE})
config.sh: config.sh.OpenBSD
- PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
- (cd ${.OBJDIR}; /bin/sh Configure -f config.sh.OpenBSD -dsE)
+ (cd ${.OBJDIR}; /usr/bin/env PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
+ /bin/sh Configure -f config.sh.OpenBSD -dsE)
Makefile:
(cd ${.OBJDIR}; /bin/sh Makefile.SH)