]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Do not perform install on existing directories
authorMatthew Jordan <mjordan@digium.com>
Tue, 12 Jun 2012 18:30:06 +0000 (18:30 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 12 Jun 2012 18:30:06 +0000 (18:30 +0000)
commiteb8487ae622846a8ec31bbbe88e07831fc36448b
tree2d03e95d74bb4807fadb60c1f9f44327fe4ca27f
parentf507dadb395db5f082d5b64797c79998a6309a81
Do not perform install on existing directories

If a directory already exists, performing a 'make install' will remove the
permissions associated with the current directory and replace them with the
permissions of the user executing the install.

This patch changes this behavior to only perform an install on the directory
if the directory does not exist.  Thus, if a user later changes the permissions
on that directory, those permissions will be preserved in subsequent installs.

Review: https://reviewboard.asterisk.org/r/1986

Review: https://reviewboard.asterisk.org/r/1864

(closes issue ASTERISK-19492)
Reported by: Karl Fife
Tested by: Paul Belanger, Tilghman Lesher
patches:
  ASTERISK-19492 by pabelanger
  (uploaded by mjordan)
........

Merged revisions 368830 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@368831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Makefile