summaryrefslogtreecommitdiffstats
path: root/remote/modules/cron/cron.build
diff options
context:
space:
mode:
authorSimon Rettberg2014-01-17 18:40:40 +0100
committerSimon Rettberg2014-01-17 18:40:40 +0100
commitb87e912005f2bf986601f600d25fdd28d88c76e0 (patch)
treeb733d9204adeba30c13e22442c6848f347437e69 /remote/modules/cron/cron.build
parentMerge branch 'master' of dnbd3:openslx-ng/tm-scripts (diff)
downloadtm-scripts-b87e912005f2bf986601f600d25fdd28d88c76e0.tar.gz
tm-scripts-b87e912005f2bf986601f600d25fdd28d88c76e0.tar.xz
tm-scripts-b87e912005f2bf986601f600d25fdd28d88c76e0.zip
[cron] Place our own cron in /opt/openslx/...
Diffstat (limited to 'remote/modules/cron/cron.build')
-rw-r--r--remote/modules/cron/cron.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/modules/cron/cron.build b/remote/modules/cron/cron.build
index fc364347..932c3e85 100644
--- a/remote/modules/cron/cron.build
+++ b/remote/modules/cron/cron.build
@@ -18,8 +18,8 @@ build() {
make cron || perror "Could not compile cron using 'make'."
# copy to build dir, since there are no shared libs linked in
- mkdir -p "${MODULE_BUILD_DIR}/usr/sbin"
- cp "$MODULE_DIR/src/cron" "$MODULE_BUILD_DIR/usr/sbin/" || perror "Could copy cron binary to ${MODULE_BUILD_DIR}"
+ mkdir -p "${MODULE_BUILD_DIR}/opt/openslx/sbin"
+ cp "${MODULE_DIR}/src/cron" "${MODULE_BUILD_DIR}/opt/openslx/sbin/" || perror "Could copy cron binary to ${MODULE_BUILD_DIR}"
cd - &>/dev/null
}