summaryrefslogtreecommitdiff
path: root/src/nopsyncd.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2015-05-14 12:08:49 (GMT)
committerChristian Pointner <equinox@helsinki.at>2015-05-14 12:08:49 (GMT)
commit0e39f791c21637176ec9b13dae1d2f2aff6b3383 (patch)
treeff08a1ca2640e7fa1a03d7f5ada76996dcf458f6 /src/nopsyncd.c
parenta235aeb1f545807574a71808027492b2939906f0 (diff)
fixed paths for lib and etc
Diffstat (limited to 'src/nopsyncd.c')
-rw-r--r--src/nopsyncd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nopsyncd.c b/src/nopsyncd.c
index 3479ad5..c26d637 100644
--- a/src/nopsyncd.c
+++ b/src/nopsyncd.c
@@ -92,9 +92,9 @@ int init_main_loop(lua_State *L, const char* filename)
return -1;
}
- lua_pushstring(L, DATAROOTDIR);
+ lua_pushstring(L, DATAROOTDIR"/rhnop");
lua_setglobal(L, "rhnoplibdir");
- lua_pushstring(L, ETCDIR);
+ lua_pushstring(L, ETCDIR"/rhnop");
lua_setglobal(L, "rhnopescdir");
ret = lua_pcall(L, 0, 0, 0);