summaryrefslogtreecommitdiff
path: root/build_tools
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-07-07 13:43:25 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-07-07 13:43:25 +0000
commitd1d970ae2be45ef76c6c30a7da9ca9b2347d2ad6 (patch)
treea122b28f6ed8f8e6e8cc123d42daa9b722d439a3 /build_tools
parente22cd3cf2d98e3c0d9ef61de676f10eb00a47b46 (diff)
live_dahdi: create asterisk in the live tree
Make sure you have etc/asterisk in the live tree before generating configuration. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10028 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/live_dahdi1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_tools/live_dahdi b/build_tools/live_dahdi
index e1cff07..c949b29 100755
--- a/build_tools/live_dahdi
+++ b/build_tools/live_dahdi
@@ -193,6 +193,7 @@ unload_dynamic() {
}
genconf() {
+ mkdir -p "$DESTDIR/etc/asterisk"
GENCONF_PARAMETERS=$DESTDIR/etc/dahdi/genconf_parameters \
DAHDI_CONF_FILE=$DESTDIR/etc/dahdi/system.conf \
DAHDI_MODS_FILE=$DESTDIR/etc/dahdi/modules \