[zaptel-commits] branch 1.2 r1033 - /branches/1.2/Makefile
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Tue May 9 04:46:50 MST 2006
Author: kpfleming
Date: Tue May 9 06:46:50 2006
New Revision: 1033
URL: http://svn.digium.com/view/zaptel?rev=1033&view=rev
Log:
preserve 'options' settings in the module configuration file during 'make install'
Modified:
branches/1.2/Makefile
Modified: branches/1.2/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.2/Makefile?rev=1033&r1=1032&r2=1033&view=diff
==============================================================================
--- branches/1.2/Makefile (original)
+++ branches/1.2/Makefile Tue May 9 06:46:50 2006
@@ -402,8 +402,9 @@
echo "alias char-major-196 $(PRIMARY)" >> $(MODCONF); \
fi; \
else \
+ grep "^options" $(MODCONF) > $(MODCONF).new; \
rm -f $(MODCONF) $(MODCONF).bak; \
- touch $(MODCONF); \
+ mv $(MODCONF).new $(MODCONF); \
fi; \
for x in $(MODULES); do \
if ! grep -q "post-install $$x" $(MODCONF); then \
More information about the zaptel-commits
mailing list