make.sh: Fix shell on 64bit hosts.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 2 Dec 2010 21:09:08 +0000 (22:09 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 2 Dec 2010 21:09:08 +0000 (22:09 +0100)
tools/make-functions

index de79dba0d744eead9b6dd2931b8406783becc68c..2bd85f166a6617df86102a92ec767f7a2fb94a5e 100644 (file)
@@ -265,7 +265,7 @@ entershell() {
                exiterror "No such file or directory: $BASEDIR/build/usr/src/lfs/"
        fi
        echo "Entering to a shell inside LFS chroot, go out with exit"
                exiterror "No such file or directory: $BASEDIR/build/usr/src/lfs/"
        fi
        echo "Entering to a shell inside LFS chroot, go out with exit"
-       chroot $LFS /tools/bin/env -i HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
+       $linux32 chroot $LFS /tools/bin/env -i HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
                PATH=/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
                VERSION=$VERSION CONFIG_ROOT=$CONFIG_ROOT \
                NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \
                PATH=/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
                VERSION=$VERSION CONFIG_ROOT=$CONFIG_ROOT \
                NAME="$NAME" SNAME="$SNAME" SLOGAN="$SLOGAN" \