diff options
author | feyrer <feyrer@pkgsrc.org> | 1999-06-18 00:56:14 +0000 |
---|---|---|
committer | feyrer <feyrer@pkgsrc.org> | 1999-06-18 00:56:14 +0000 |
commit | b4cb507aaf9a326f4475014f3472f38a6f2272e7 (patch) | |
tree | 00040f9f1a962e5f76484872fe80af174dc75a52 /pkgtools | |
parent | 613b481e198b6305c846f276aae0c5acf15d3984 (diff) | |
download | pkgsrc-b4cb507aaf9a326f4475014f3472f38a6f2272e7.tar.gz |
> > > Hit a problem with the wrksrc=`ls w*` if run as root.
> > > A 'wrksrc=`cd w* ; echo *`' seems to fix it.
> > > :)
> The ls picks up the .extract_done file, which breaks things
> somewhat :)
=> Fixed
(Problem noted by David Brownlee <abs@anim.dreamworks.com>)
,
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/url2pkg/files/url2pkg | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/url2pkg/files/url2pkg b/pkgtools/url2pkg/files/url2pkg index dbac133d2e7..2731b2123ef 100755 --- a/pkgtools/url2pkg/files/url2pkg +++ b/pkgtools/url2pkg/files/url2pkg @@ -1,6 +1,6 @@ #!/bin/sh # -# url2pkg $Id: url2pkg,v 1.3 1999/05/06 04:20:33 feyrer Exp $ +# url2pkg $Id: url2pkg,v 1.4 1999/06/18 00:56:14 feyrer Exp $ # (c) 1999 Hubert Feyrer # @@ -45,7 +45,7 @@ if [ ! -f w*/.extract_done ]; then fi ( - echo '# $NetBSD: url2pkg,v 1.3 1999/05/06 04:20:33 feyrer Exp $' + echo '# $NetBSD: url2pkg,v 1.4 1999/06/18 00:56:14 feyrer Exp $' echo '#' echo "" echo "DISTNAME= $DISTNAME" @@ -62,7 +62,7 @@ if [ ! -f w*/.extract_done ]; then ) >Makefile mkdir pkg - echo '@comment $NetBSD: url2pkg,v 1.3 1999/05/06 04:20:33 feyrer Exp $' >pkg/PLIST + echo '@comment $NetBSD: url2pkg,v 1.4 1999/06/18 00:56:14 feyrer Exp $' >pkg/PLIST vi +/FILLTHISINPLEASE Makefile @@ -76,7 +76,7 @@ fi # # Exec Artificial Intelligence Modules here ... # -wrksrc=`ls w*` +wrksrc=`cd w* ; echo *` if [ "$wrksrc" != "$DISTNAME" ]; then WRKSRC= "\${WRKDIR}/$wrksrc" fi |