[pacman-dev] [PATCH] [makepkg] split debug support

Allan McRae allan at archlinux.org
Sat May 22 00:45:06 EDT 2010

On 22/05/10 11:06, Andres P wrote:
> On Sat, May 22, 2010 at 10:24:39AM +1000, Allan McRae wrote:
>> 6) I do not understand what secure_dir is needed for?  I do not
>> think that this was part of the original patch.
> The main complaint about the original patch was repetition.
> Notice how my patch did away with tons of lines with:
>      mkdir dir
>      chmod a-s dir
> It's more maintainable. It's related to the patch because ./dbg gets
> created this way.

what about this:

mkdir() {
   /bin/mkdir $1
   chmod a-s $1

Then we can just use mkdir like normal and everything will get done for 
us.  The FHS guarantees the placement of mkdir so we should be fine 
using the full path there.

I will take a separate patch for that :P


More information about the pacman-dev mailing list