summaryrefslogtreecommitdiff
path: root/package/asterisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/asterisk/Makefile')
-rw-r--r--package/asterisk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/asterisk/Makefile b/package/asterisk/Makefile
index a6b3ef4a6..b56898d2a 100644
--- a/package/asterisk/Makefile
+++ b/package/asterisk/Makefile
@@ -174,7 +174,7 @@ do-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
rm -f gtalk.conf ; \
rm -f skinny.conf ; \
rm -f dundi.conf ; \
- echo -e '/^astdatadir =/s/var/usr/\nwq\n' | ed asterisk.conf ; \
+ $(SED) '#^astdatadir = /var/#/usr/#' asterisk.conf ; \
)
${INSTALL_DATA} ./files/modules.conf $(IDIR_ASTERISK)/etc/asterisk/
$(SED) 's|/var/lib/asterisk|/usr/lib/asterisk|g' \