]> err.no Git - dotfiles/commitdiff
move hostname to /bin
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Fri, 1 Nov 2002 00:37:23 +0000 (00:37 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Fri, 1 Nov 2002 00:37:23 +0000 (00:37 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@86 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

environment

index 77619cfb329ad0d2417918823a185634b962be15..5630d8681742714595e8a060f6af9cfbc28b66fd 100644 (file)
@@ -5,6 +5,7 @@ LS_OPTIONS=
 for lsopt in -B --color=auto -FN; do
     ls $lsopt > /dev/null 2>&1 && LS_OPTIONS="$LS_OPTIONS $lsopt"
 done
+
 CVSROOT=~/data/cvs
 EDITOR=emacs
 TZ=CET
@@ -25,12 +26,12 @@ fi
 
 case `uname -s` in
     *BSD|SunOS)
-        HOSTNAME=`hostname`
-        DOMAINNAME=`hostname | cut -d. -f 2-`
+        HOSTNAME=`/bin/hostname`
+        DOMAINNAME=`/bin/hostname | cut -d. -f 2-`
         ;;
     Linux)
-        HOSTNAME=`hostname -f`
-        DOMAINNAME=`hostname -f | cut -d. -f 2-`
+        HOSTNAME=`/bin/hostname -f`
+        DOMAINNAME=`/bin/hostname -f | cut -d. -f 2-`
         ;;
 esac