Hi,

> If somebody has created $RPM_BUILD_ROOT as a symlink that points to 
> your home dir, then
> 
>   rm -rf $RPM_BUILD_ROOT
> 
> will be save, as it either removes the symlink or fails if you don't 
> have permission to remove it, but
> 
>   rm -rf $RPM_BUILD_ROOT/*
> 
> will "clean up" your home dir.

If somebody has created $RPM_BUILD_ROOT as a symlink, %build will correct that 
securely:

+ /bin/rm -rf /var/tmp/gnucash-docs-2.0.1-build
++ dirname /var/tmp/gnucash-docs-2.0.1-build
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/gnucash-docs-2.0.1-build

Andreas Hanke
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to