23 Sep
2012
23 Sep
'12
11:51 p.m.
On 24/09/12 01:55, Dave Reisner wrote:
+ pkgdir="$pkgdir/$pkgname"
+ mkdir -p "$pkgdir" + chmod a-s "$pkgdir" Can't we just use mkdir's -m flag here? It's specified by POSIX.
Note this is used in multiple other places in makepkg. I seem to recall we did not use the "-m" flag for some reason, but I can not remember why. Maybe Dan can shed some light here? Anyway, I have just realized we only need it on the creation of $srcdir and $startdir/pkg. All directories created within them have no need for it... Allan