Subject: Qs re pkgsrc/mk/install/usergroup
To: None <tech-pkg@netbsd.org>
From: Georg Schwarz <georg.schwarz@freenet.de>
List: tech-pkg
Date: 03/28/2005 12:18:07
I have a few questions regarding pkgsrc/mk/install/usergroup:

- on the one hand it features 

...
group_exists()
{
        case $group in
....

on the other hand group_exists() is called like this:

group_exists $group

(similar for user_exists $user). Is the $group argument with which
group_exists is called really necessary, or doesn't it have any effect
since it not evaluated by the function anyway, but rather the fixed
variable $group is read?

- would it be a good idea to enclose variables in case expressions by
double quotes? 

 

-- 
Georg Schwarz    http://home.pages.de/~schwarz/
 georg.schwarz@freenet.de     +49 178 8545053