summaryrefslogtreecommitdiffstats
path: root/inc/chroot-functions.inc.sh
diff options
context:
space:
mode:
authorSebastian2010-04-09 23:56:28 +0200
committerSebastian2010-04-09 23:56:28 +0200
commitbbf39bd59f31084d499c2cdd064274093b39dad8 (patch)
tree6715dffc0fc60fec9df5efdbe6a127faf454881b /inc/chroot-functions.inc.sh
parentadded caching (diff)
downloadbroot-bbf39bd59f31084d499c2cdd064274093b39dad8.tar.gz
broot-bbf39bd59f31084d499c2cdd064274093b39dad8.tar.xz
broot-bbf39bd59f31084d499c2cdd064274093b39dad8.zip
added dependency based system to run defined tasks
Diffstat (limited to 'inc/chroot-functions.inc.sh')
-rw-r--r--inc/chroot-functions.inc.sh8
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 $@
}