diff options
Diffstat (limited to 'inc/chroot-functions.inc.sh')
-rw-r--r-- | inc/chroot-functions.inc.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/chroot-functions.inc.sh b/inc/chroot-functions.inc.sh index b07f3ea..5693a54 100644 --- a/inc/chroot-functions.inc.sh +++ b/inc/chroot-functions.inc.sh @@ -1,13 +1,13 @@ chroot-exec () { - if [ $(mount |grep -c $buildrootpath/dev) -eq 0 ]; then + if [ $(mount |grep -c $BROOT_BUILDROOT_PATH/dev) -eq 0 ]; then setupBindmounts fi - chroot $buildrootpath linux32 $@ + chroot $BROOT_BUILDROOT_PATH linux32 $@ } chroot-aptinstall () { - if [ $(mount |grep -c $buildrootpath/dev) -eq 0 ]; then + if [ $(mount |grep -c $BROOT_BUILDROOT_PATH/dev) -eq 0 ]; then setupBindmounts fi - chroot $buildrootpath linux32 aptitude install -y $@ + chroot $BROOT_BUILDROOT_PATH linux32 aptitude install -y $@ } |