]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_pocketsphinx: install default.dic with correct mode
authorTravis Cross <tc@traviscross.com>
Mon, 7 May 2012 16:35:48 +0000 (16:35 +0000)
committerTravis Cross <tc@traviscross.com>
Mon, 7 May 2012 16:36:18 +0000 (16:36 +0000)
src/mod/asr_tts/mod_pocketsphinx/Makefile

index 9b2c6b28e47fbbfef7cc79df2d6474dd0953d811..e3d795fb602e9bedb1994086d7e4d01bc6c52a68 100644 (file)
@@ -60,7 +60,7 @@ $(DESTDIR)$(grammardir)/model/communicator:
        cp -rp $(switch_srcdir)/libs/Communicator_semi_40.cd_semi_6000/* $(DESTDIR)$(grammardir)/model/communicator
 
 dictionary:
-       @cp -f $(POCKETSPHINX_DIR)/model/lm/en_US/cmu07a.dic $(DESTDIR)$(grammardir)/default.dic
+       @install -m0644 $(POCKETSPHINX_DIR)/model/lm/en_US/cmu07a.dic $(DESTDIR)$(grammardir)/default.dic
 
 local_install: $(DESTDIR)$(grammardir)/model $(DESTDIR)$(grammardir)/model/communicator dictionary