Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jun 2005 13:24:34 -0300
From:      Alejandro Pulver <alejandro@varnet.biz>
To:        freebsd-ports@freebsd.org
Subject:   INSTALL_DIR or MKDIR ?
Message-ID:  <20050604132434.76d5405f@phobos.mars.bsd>

next in thread | raw e-mail | index | archive | help
Hello,

I noticed that some ports use INSTALL_DIR (custom, not in bsd.port.mk)
instead of using MKDIR.

The difference I noticed is that INSTALL_DIR explicity sets the
permissions appropiately with INSTALL (owner, group and mode).

The bsd.port.mk makefile warns if the mask is not 022, and if the user
is not root.

So is INSTALL_DIR needed (is better than MKDIR)? If yes, why it is not
in bsd.port.mk?

Thanks and Best Regards,
Ale



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050604132434.76d5405f>