summaryrefslogtreecommitdiff
path: root/buildenv
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-07 11:26:53 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-07 11:26:53 -0300
commitd3056495cdab4c03e1a5a73c303b4cc25337597d (patch)
tree3f4648385f28adb5e3c0757c16abae3d3f22d583 /buildenv
parent6033c0d7a587ea65d124a84146eba8e8cfff4095 (diff)
Instead of 'abs', now buildenv uses ${USER}.
Diffstat (limited to 'buildenv')
-rwxr-xr-xbuildenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildenv b/buildenv
index 1a9fff6..dc41e19 100755
--- a/buildenv
+++ b/buildenv
@@ -3,7 +3,7 @@
trap "umount_all" 0 ERR TERM KILL
umount_all() {
- for mp in home/pkgdest home/srcdest home/abs; do
+ for mp in home/pkgdest home/srcdest home/${USER}; do
msg "Umounting /$mp"
umount $CHROOTDIR/$CHCOPY/$mp || error "Couldn't umount"
done
@@ -11,7 +11,7 @@ umount_all() {
source /etc/libretools.conf
-for mp in home/pkgdest home/srcdest home/abs var/lib/toru; do
+for mp in home/pkgdest home/srcdest home/${USER} var/lib/toru; do
msg "Binding /$mp"
mount -o bind /$mp $CHROOTDIR/$CHCOPY/$mp || exit 1
done