Subject: CVS commit: pkgsrc/mk/install
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 08/04/2005 16:54:53
Module Name:	pkgsrc
Committed By:	rillig
Date:		Thu Aug  4 16:54:53 UTC 2005

Modified Files:
	pkgsrc/mk/install: bsd.pkginstall.mk

Log Message:
Some fixes for the Solaris shell. After set -- foo bar; set --; echo $#
outputs 2, but 0 would be expected. That means that the arguments to set
-- must never be empty. I added the necessary checks. I also used
for...done loops instead of set, as they are simpler and don't use
global variables.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 pkgsrc/mk/install/bsd.pkginstall.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.