From 8e742f1cc4fb1a9910ae16164c1c03f4f3855516 Mon Sep 17 00:00:00 2001 From: hubertf Date: Thu, 15 Jun 2000 21:38:01 +0000 Subject: Some old configure scripts don't understand --version and may nuke our just-generated Makefile. prevent this by cd'ing into $WRKSRC. --- pkgtools/url2pkg/files/url2pkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgtools') diff --git a/pkgtools/url2pkg/files/url2pkg b/pkgtools/url2pkg/files/url2pkg index ef842174589..866b139a410 100755 --- a/pkgtools/url2pkg/files/url2pkg +++ b/pkgtools/url2pkg/files/url2pkg @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: url2pkg,v 1.9 2000/04/03 12:52:28 hubertf Exp $ +# $NetBSD: url2pkg,v 1.10 2000/06/15 21:38:01 hubertf Exp $ # # url2pkg # (c) 1999 Hubert Feyrer @@ -97,7 +97,7 @@ fi configure=`echo w*`/$wrksrc/configure echo checking $configure XXX if [ -f $configure ]; then - if expr 2>&1 >/dev/null "`$configure --version`" \ + if expr 2>&1 >/dev/null "`cd w*/$wrksrc ; $configure --version`" \ : 'configure generated by autoconf version.*' ; then GNU_CONFIGURE=YES else -- cgit v1.2.3