xbps-src: make sure that pkg metadir is created with 0755 perms.

This commit is contained in:
Juan RP 2011-11-09 11:16:12 +01:00
parent 06fdf963cc
commit 4767136430

View file

@ -405,7 +405,7 @@ _EOF
echo "</plist>" >> $TMPFPROPS echo "</plist>" >> $TMPFPROPS
if [ ! -d $metadir ]; then if [ ! -d $metadir ]; then
mkdir -p $metadir >/dev/null 2>&1 mkdir -m0755 -p $metadir >/dev/null 2>&1
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
msg_red "you don't have enough perms for this!\n" msg_red "you don't have enough perms for this!\n"
rm -f $TMPFLIST $TMPFPROPS rm -f $TMPFLIST $TMPFPROPS