pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/30362
The following reply was made to PR pkg/30362; it has been noted by GNATS.
From: Roland Illig <roland.illig%gmx.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/30362
Date: Mon, 06 Jun 2005 10:44:22 +0200
This is a multi-part message in MIME format.
--------------050008070702090302090208
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Some experiments later ...
in the old version, the script eats the first argument and only passes
the remaining. (It's clearly expressed in the sh(1) manpage, but I
didn't know it before. :))
Roland
--------------050008070702090302090208
Content-Type: text/plain;
name="do-sandbox-build.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="do-sandbox-build.patch"
Index: do-sandbox-build
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bulk/do-sandbox-build,v
retrieving revision 1.10
diff -u -p -r1.10 do-sandbox-build
--- do-sandbox-build 7 May 2005 22:16:38 -0000 1.10
+++ do-sandbox-build 6 Jun 2005 08:42:45 -0000
@@ -7,5 +7,8 @@
# See pkgsrc/doc/pkgsrc.txt for documentation!
#
-sh=`which sh`
-chroot /usr/sandbox $sh -c "cd /usr/pkgsrc && $sh mk/bulk/build $@"
+sh="/bin/sh"
+build="mk/bulk/build"
+
+chroot /usr/sandbox \
+ $sh -c "cd /usr/pkgsrc && $sh $build \"\$@\"" -- $build "$@"
--------------050008070702090302090208--
Home |
Main Index |
Thread Index |
Old Index