Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 May 2005 18:29:07 -0300
From:      Alejandro Pulver <alejandro@varnet.biz>
To:        freebsd-ports@freebsd.org
Subject:   INSTALL_DIR or MKDIR ?
Message-ID:  <20050512182907.177e2ab9@ale.varnet.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?20050512182907.177e2ab9>