Subject: Re: pkgsrc configure failure with xfce4
To: NetBSD-users list <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 01/22/2004 15:35:34
--QRj9sO5tAVLaXnSD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Ertan Payci wrote:
> The only solution i found was to replace /bin/rmdir with a script
> that executes rm -rf $*. I know this is not very beautiful...

It's a bad idea. Use rm -rf ${1+"$@"}. Otherwise, if called with
'my netbsd home directory', you'll rm -rf my netbsd home directory.
You better don't do that standing in /. Unfortunately, many people
don't understand the difference between $* and "$@". (The double-
quotes matter and no, "$*" is again something else!)

--=20
Christian

--QRj9sO5tAVLaXnSD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAD9+20KQix3oyIMcRAshSAKCJyP/PsQCmPtEhl8liH/Z0rGDuLwCdH2wc
yMMJ/4ystCPdEDiZ9VxHcBM=
=Xa21
-----END PGP SIGNATURE-----

--QRj9sO5tAVLaXnSD--