summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_hooks
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_hooks')
-rwxr-xr-xscripts/build/chroot_hooks6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks
index f5864d8..f5bce98 100755
--- a/scripts/build/chroot_hooks
+++ b/scripts/build/chroot_hooks
@@ -10,7 +10,7 @@
set -e
# Including common functions
-. "${LH_BASE:-/usr/share/live-helper}"/scripts/build.sh
+. "${LH_BASE:-/usr/share/live/build}"/scripts/build.sh
# Setting static variables
DESCRIPTION="$(Echo 'execute hooks in chroot')"
@@ -42,10 +42,10 @@ HOOKS="$(echo ${LH_HOOKS} ${LH_PACKAGES_LISTS} ${LH_TASKS} | sed -e 's| |\n|g' |
for HOOK in ${HOOKS}
do
- if [ -f ${LH_BASE:-/usr/share/live-helper}/hooks/"${HOOK}" ]
+ if [ -f ${LH_BASE:-/usr/share/live/build}/hooks/"${HOOK}" ]
then
# Copying hook
- cp ${LH_BASE:-/usr/share/live-helper}/hooks/"${HOOK}" chroot/root
+ cp ${LH_BASE:-/usr/share/live/build}/hooks/"${HOOK}" chroot/root
# Making hook executable
if [ ! -x chroot/root/"${HOOK}" ]