minot tweaks

This commit is contained in:
Chris Blackburn 2012-01-26 14:03:29 -06:00
commit 7f825441fc
2 changed files with 6 additions and 5 deletions

View file

@ -37,10 +37,11 @@ for i in $OS_DIR/*.sh ; do
done
# Source Host specifics if there are any for the current host
if [[ ! -z "$HOST" ]]; then
HOSTNAME=`hostname`
if [[ ! -z "$HOSTNAME" ]]; then
HOST_DIR=$DOT_ENV_PATH/host/`hostname`
if [[ "$SHLVL" == "1" ]]; then
echo "Sourcing '$HOST' Environment"
echo "Sourcing '$HOSTNAME' Environment"
fi
for i in $HOST_DIR/*.sh ; do
if [ -r "$i" ]; then