pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/30956
The following reply was made to PR pkg/30956; it has been noted by GNATS.
From: Chapman Flack <nbgnats%anastigmatix.net@localhost>
To: gnats-bugs%netbsd.org@localhost
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
Home |
Main Index |
Thread Index |
Old Index