瀏覽代碼

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
 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 mod_init_fname = str_init("mod_init");
 static str child_init_mname = str_init("child_init");
 static str child_init_mname = str_init("child_init");