#!/bin/bash
#user lfs causes too much trouble: #from now on run as user lfs on host system

#2do: changing bash_profile of lfs is OK, but not of root!

#this file should be started with "source 001..."

# set +h command turns off bash's hash function.
# LC_ALL controls localization, glibc<2.2.4 on host may cause chroot trouble without that
#user lfs causes too much trouble:
#cat > ~/.bash_profile << "EOF"
set +h
umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
PATH=/prelfs/bin:$PATH
export LFS LC_ALL PATH
unset CC CXX CPP LD_LIBRARY_PATH LD_PRELOAD CFLAGS
#EOF
#
#source ~/.bash_profile
