lb_chroot_layered: Export _PASS as PASS to be available in hooks

This commit is contained in:
Jean-Baptiste Lallement 2018-11-14 09:57:45 +01:00 committed by Jean-Baptiste Lallement
parent d5a16296f4
commit 0f4fcbc7d3

View File

@ -47,6 +47,7 @@ LASTPASS=$(echo $PASSES|wc -w)
LOWER_LAYERS=""
for _PASS in $PASSES
do
export PASS=${_PASS}
if [ $CURPASS -gt 1 ]; then
mkdir chroot.${_PASS}