[asterisk-dev] [Code Review] 3727: Install dahdi span hook only if relevant

Tzafrir Cohen reviewboard at asterisk.org
Tue Jul 8 10:37:36 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3727/
-----------------------------------------------------------

Review request for Asterisk Developers and Corey Farrell.


Repository: Asterisk


Description
-------

Commit r417863 added support for installing a hook script for dahdi under /usr/share/dahdi/span_config.d . This, however, broke support for users setting --prefix=$HOME:

/usr/bin/install -c -d //usr/share/dahdi/span_config.d
/usr/bin/install: cannot create directory ‘//usr/share/dahdi’: Permission denied

Suggested fix: only install the hook prefix is /usr.

Note: installing only if chan_dahdi was enabled is not easy as menuselect.makeopts is not included into the main Makefile.


Diffs
-----

  /trunk/Makefile 418065 

Diff: https://reviewboard.asterisk.org/r/3727/diff/


Testing
-------


Thanks,

Tzafrir Cohen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140708/adf87b70/attachment.html>


More information about the asterisk-dev mailing list