From: martin f. krafft Date: Thu, 10 Dec 2015 10:49:45 +0000 (+0100) Subject: only special-case fishbowl on fishbowl X-Git-Url: https://git.madduck.net/etc/ssh.git/commitdiff_plain/5f650f3dda69462f4563cdb7b06370ad422fd4ad?ds=sidebyside only special-case fishbowl on fishbowl --- diff --git a/.ssh/Makefile b/.ssh/Makefile index 111d692..1569b26 100644 --- a/.ssh/Makefile +++ b/.ssh/Makefile @@ -65,4 +65,7 @@ config: $(LOCAL_CONFIG) config.in $@ \ ;; \ esac; \ - sed -i -re '/^Host fishbowl/,/^[[:space:]]*ProxyCommand/s/ProxyCommand.*/Host localhost/' $@ + case "$$HOSTNAME" in \ + (fishbowl) \ + sed -i -re '/^Host fishbowl/,/^[[:space:]]*ProxyCommand/s/ProxyCommand.*/Host localhost/' $@; \ + esac