From b7bb15560abed6b883f494d8a295b18d230107e0 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 10 Jul 2012 22:37:21 +0000 Subject: [PATCH] Enforce permissions properly when creating directories --- data/pkgconfig.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/data/pkgconfig.sh b/data/pkgconfig.sh index 28210bf..ca94910 100755 --- a/data/pkgconfig.sh +++ b/data/pkgconfig.sh @@ -1,7 +1,6 @@ #!/bin/sh #$Id$ -#Copyright (c) 2011 Pierre Pronchery -#All rights reserved. +#Copyright (c) 2011-2012 Pierre Pronchery # #Redistribution and use in source and binary forms, with or without #modification, are permitted provided that the following conditions are met: @@ -31,7 +30,7 @@ PREFIX="/usr/local" DEBUG="_debug" DEVNULL="/dev/null" INSTALL="install -m 0644" -MKDIR="mkdir -p" +MKDIR="mkdir -m 0755 -p" RM="rm -f" SED="sed"