[pacman-dev] [PATCH 3/6] makepkg: prevent issues with files starting with a hyphen

Thomas Bächler thomas at archlinux.org
Mon Mar 12 11:40:38 EDT 2012


Am 09.03.2012 15:01, schrieb Dave Reisner:
>> @@ -974,7 +974,7 @@ tidy_install() {
>>  
>>  	if [[ $(check_option docs) = "n" && -n ${DOC_DIRS[*]} ]]; then
>>  		msg2 "$(gettext "Removing doc files...")"
>> -		rm -rf ${DOC_DIRS[@]}
>> +		rm -rf -- ${DOC_DIRS[@]}
> 
> i hate that we can't quote this.

We can't? Why?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20120312/6c05bb3f/attachment.asc>


More information about the pacman-dev mailing list