Skip to content

Commit

Permalink
Changed path of operators and functions
Browse files Browse the repository at this point in the history
  • Loading branch information
CurlyMoo committed Apr 29, 2018
1 parent c559682 commit 57a04b0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions inc/defines.h.in
Expand Up @@ -54,11 +54,11 @@
#define LOG_FILE "c:/pilight/pilight.log"
#define PEM_FILE "c:/pilight/pilight.pem"
#else
#define PROTOCOL_ROOT "/usr/local/pilight/protocols/"
#define HARDWARE_ROOT "/usr/local/pilight/hardware/"
#define OPERATOR_ROOT "/usr/local/pilight/operators/"
#define FUNCTION_ROOT "/usr/local/pilight/functions/"
#define ACTION_ROOT "/usr/local/pilight/actions/"
#define PROTOCOL_ROOT "/usr/local/lib/pilight/protocols/"
#define HARDWARE_ROOT "/usr/local/lib/pilight/hardware/"
#define OPERATOR_ROOT "/usr/local/lib/pilight/operators/"
#define FUNCTION_ROOT "/usr/local/lib/pilight/functions/"
#define ACTION_ROOT "/usr/local/lib/pilight/actions/"

#define PID_FILE "/var/run/pilight.pid"
#define CONFIG_FILE "/etc/pilight/config.json"
Expand Down
2 changes: 1 addition & 1 deletion libs/pilight/events/functions/CMakeLists.txt
Expand Up @@ -2,5 +2,5 @@ file(GLOB functions "${PROJECT_SOURCE_DIR}/functions/*.lua")
if(WIN32)
install(FILES ${functions} DESTINATION functions/ COMPONENT ${PROJECT_NAME})
else()
install(FILES ${functions} DESTINATION ${PROJECT_NAME}/functions/ COMPONENT ${PROJECT_NAME})
install(FILES ${functions} DESTINATION lib/pilight/functions/ COMPONENT ${PROJECT_NAME})
endif()
2 changes: 1 addition & 1 deletion libs/pilight/events/operators/CMakeLists.txt
Expand Up @@ -2,5 +2,5 @@ file(GLOB operators "${PROJECT_SOURCE_DIR}/operators/*.lua")
if(WIN32)
install(FILES ${operators} DESTINATION operators/ COMPONENT ${PROJECT_NAME})
else()
install(FILES ${operators} DESTINATION pilight/operators/ COMPONENT ${PROJECT_NAME})
install(FILES ${operators} DESTINATION lib/pilight/operators/ COMPONENT ${PROJECT_NAME})
endif()

0 comments on commit 57a04b0

Please sign in to comment.