summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-03-05 13:45:26 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-03-05 13:45:26 +0100
commite3a94577078f22ec2eb0418f25922abc1a5d8132 (patch)
tree446afaef30459055fefe9defabcd6849d5c10199
parentfd6cfc1967086c9be98d2029fcd59ae6915f85a7 (diff)
downloaddotfiles-e3a94577078f22ec2eb0418f25922abc1a5d8132.tar.gz
dotfiles-e3a94577078f22ec2eb0418f25922abc1a5d8132.tar.bz2
dotfiles-e3a94577078f22ec2eb0418f25922abc1a5d8132.zip
env.sh: Use $HOSTNAME instead of /bin/hostname
-rwxr-xr-xsrc/env.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.sh b/src/env.sh
index 17a54d9..66591f6 100755
--- a/src/env.sh
+++ b/src/env.sh
@@ -5,7 +5,7 @@ doecho() {
home=~ben
-if [ $(hostname) = "blx" ]; then
+if [ "$HOSTNAME" = "blx" ]; then
doecho export prefix=$home/.local
else
doecho export prefix=$home/dist