소스 검색

app_python: use NAME compile flag for default path to the script

- reflects better the application name
Daniel-Constantin Mierla 9 년 전
부모
커밋
6ae155ee8e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/app_python/python_mod.c

+ 1 - 1
modules/app_python/python_mod.c

@@ -39,7 +39,7 @@
 MODULE_VERSION
 
 
-static str script_name = str_init("/usr/local/etc/sip-router/handler.py");
+static str script_name = str_init("/usr/local/etc/" NAME "/handler.py");
 static str mod_init_fname = str_init("mod_init");
 static str child_init_mname = str_init("child_init");