X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lbuild-nightly.sh;h=8fd1f7d7c25c14f3837f80e0b1b70b68c68b05c7;hb=862ea1525607b04e2f786ba95cc5146750ec332c;hp=8e76954d82a5d400acb87c4ce036d5052932ca7b;hpb=84047d3f1c08703c162f4a51bd888f0eba68d7fd;p=build.git diff --git a/lbuild-nightly.sh b/lbuild-nightly.sh index 8e76954d..8fd1f7d7 100755 --- a/lbuild-nightly.sh +++ b/lbuild-nightly.sh @@ -46,7 +46,7 @@ DATE=$(date +'%Y.%m.%d') # but the PL code still uses this name for now, so let's keep it simple function rootdir () { slice=$1; shift - echo /vservers/$slice/rootfs + echo /vservers/$slice } function logfile () { slice=$1; shift @@ -226,7 +226,6 @@ function bin_in_container () { binary=$1; shift for path in $(echo $PATH | sed -e 's,:, ,g' ); do [ -f /vservers/$lxc/$path/$binary ] && { echo $path/$binary; return; } - [ -f /vservers/$lxc/rootfs/$path/$binary ] && { echo $path/$binary; return; } done echo bin_in_container_cannot_find_$binary }