Subject: Re: pkg/30956
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Chapman Flack <nbgnats@anastigmatix.net>
List: pkgsrc-bugs
Date: 08/10/2005 00:45:03
The following reply was made to PR pkg/30956; it has been noted by GNATS.
From: Chapman Flack <nbgnats@anastigmatix.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30956
Date: Tue, 09 Aug 2005 19:50:54 -0500
A MAKEFILE FOR EXPLORING THE EFFECTS OF THE FOUR VERSIONS:
This Makefile creates some evilly-named files in the current directory,
to show the effect of the forms that are not globbing-protected.
all : 904 1275 1296 1300
904 : prepare
pkg='abc>=1.2.*' ;\
sh -c 'echo "$$@"' dummy PKGNAME_REQD=$$pkg
1275 : prepare
pkg='abc>=1.2.*' ;\
sh -c 'echo "$$@"' dummy PKGNAME_REQD="$$pkg"
1296 : prepare
pkg='abc>=1.2.*' ;\
sh -c 'echo "$$@"' dummy PKGNAME_REQD=\""$$pkg"\"
1300 : prepare
pkg='abc>=1.2.*' ;\
sh -c 'echo "$$@"' dummy PKGNAME_REQD=\'$$pkg\'
prepare :
>PKGNAME_REQD=abc\>=1.2.x
>PKGNAME_REQD=\"abc\>=1.2.x\"
>PKGNAME_REQD=\'abc\>=1.2.x\'
test :
pkg='abc>=1.2.*' ;\
${MAKE} ${MAKEFLAGS} nothing PKGNAME_REQD="$$pkg"
nothing :
echo ${PKGNAME_REQD:Q}
ps -ww -o args
env