Enforce permissions properly when creating directories

This commit is contained in:
Pierre Pronchery 2012-07-10 22:37:21 +00:00
parent 2b20fd1d36
commit b7bb15560a

View File

@ -1,7 +1,6 @@
#!/bin/sh #!/bin/sh
#$Id$ #$Id$
#Copyright (c) 2011 Pierre Pronchery <khorben@defora.org> #Copyright (c) 2011-2012 Pierre Pronchery <khorben@defora.org>
#All rights reserved.
# #
#Redistribution and use in source and binary forms, with or without #Redistribution and use in source and binary forms, with or without
#modification, are permitted provided that the following conditions are met: #modification, are permitted provided that the following conditions are met:
@ -31,7 +30,7 @@ PREFIX="/usr/local"
DEBUG="_debug" DEBUG="_debug"
DEVNULL="/dev/null" DEVNULL="/dev/null"
INSTALL="install -m 0644" INSTALL="install -m 0644"
MKDIR="mkdir -p" MKDIR="mkdir -m 0755 -p"
RM="rm -f" RM="rm -f"
SED="sed" SED="sed"