summarylogtreecommitdiffstats
path: root/fix_module_path.patch
blob: f41b3059e2da86f3732a8d0747523a7fca2df68c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/include/define.h b/include/define.h
index 0d01e14..40e9d23 100644
--- a/include/define.h
+++ b/include/define.h
@@ -58,7 +58,7 @@
 
 #define MOD_INFO_SIZE       sizeof(strcut mod_info)
 
-#define DEFAULT_MODULE_PATH         "/usr/local/tsar/modules"
+#define DEFAULT_MODULE_PATH         "/usr/lib/tsar/modules"
 #define DEFAULT_CONF_FILE_PATH      "/etc/tsar/tsar.conf"
 #define DEFAULT_OUTPUT_FILE_PATH    "/var/log/tsar.data"
 #define MIN_STRING "MIN:        "
diff --git a/lualib/Makefile b/lualib/Makefile
index d5a3b29..5f65d93 100644
--- a/lualib/Makefile
+++ b/lualib/Makefile
@@ -3,7 +3,7 @@ LUASOCKET = luasocket-2.0.2
 DIRS = $(LUACJSON) $(LUASOCKET)
 
 INCLUDE_DIR ?= $(CURDIR)/../src/obj/include/luajit-2.0
-INSTALL_DIR ?= /usr/local/tsar/lualib
+INSTALL_DIR ?= /usr/lib/tsar/lualib
 
 all:
 	for i in $(DIRS); do tar --no-same-owner -zxf $$i.tar.gz; done