diff options
author | Daniel Baumann <daniel@debian.org> | 2010-08-14 20:29:05 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2010-08-14 20:35:52 +0200 |
commit | d7064532346ce2f56d44274b6c5828659886cec7 (patch) | |
tree | c34ae564f0b86b77ef6023f44be6e9f2c95001a6 /scripts/build/chroot_hooks | |
parent | f442aef1df9c18ae64ff285c2524b9510a37d89c (diff) | |
download | vyos-live-build-d7064532346ce2f56d44274b6c5828659886cec7.tar.gz vyos-live-build-d7064532346ce2f56d44274b6c5828659886cec7.zip |
Moving /usr/share/live-helper to /usr/share/live/build.
Diffstat (limited to 'scripts/build/chroot_hooks')
-rwxr-xr-x | scripts/build/chroot_hooks | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/chroot_hooks b/scripts/build/chroot_hooks index f5864d864..f5bce989f 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}" ] |