diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2011-03-25 00:19:02 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2011-03-25 00:19:02 +0100 |
commit | 473434a5d432c13163fedc9ba6893d1aa9014628 (patch) | |
tree | 1a206709ace79064f322f55f008a835262edc985 /scripts/build/lb_binary_burg | |
parent | fbf9e2a4d6e346b4a7d452e1d20e6b5a829e016f (diff) | |
download | live-build-473434a5d432c13163fedc9ba6893d1aa9014628.zip live-build-473434a5d432c13163fedc9ba6893d1aa9014628.tar.gz |
fixed wrong directory-paths from previous commit
Diffstat (limited to 'scripts/build/lb_binary_burg')
-rwxr-xr-x | scripts/build/lb_binary_burg | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/scripts/build/lb_binary_burg b/scripts/build/lb_binary_burg index e2eea70..1bc16db 100755 --- a/scripts/build/lb_binary_burg +++ b/scripts/build/lb_binary_burg @@ -78,18 +78,17 @@ Burg_live_entry () _NUMBER="$(echo ${LB_LINUX_FLAVOURS} | awk -v FLAVOUR="${FLAVOUR}" 'BEGIN{RS=" "} {if($1 == FLAVOUR) print NR}')" fi - if [ -e ${KERNEL_PATH}/${KERNEL} ] + if [ -e binary/${KERNEL} ] then - mv ${KERNEL_PATH}/${KERNEL} ${KERNEL_PATH}/vmlinuz${_NUMBER} + mv binary/${KERNEL} "binary/$(dirname ${KERNEL})/vmlinuz${_NUMBER}" + KERNEL="$(dirname ${KERNEL})/vmlinuz${_NUMBER}" fi - if [ -e ${KERNEL_PATH}/${INITRD} ] + if [ -e binary/${INITRD} ] then - mv ${KERNEL_PATH}/${INITRD} ${KERNEL_PATH}/initrd${_NUMBER}.img + mv binary/${INITRD} "binary/$(dirname ${INITRD})/initrd${_NUMBER}.img" + INITRD="$(dirname ${INITRD})/initrd${_NUMBER}.img" fi - - KERNEL=vmlinuz${_NUMBER} - INITRD=initrd${_NUMBER}.img ;; esac |