diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-11-17 20:27:37 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-11-17 20:27:37 +0000 |
commit | fd9551f674242637b157d52ad31379422dfc849e (patch) | |
tree | 18925854167e9c4be48696f49d2fea760fbbc60b | |
parent | 4ee873b65c9c1bd9eebd491907074a744e80ed60 (diff) | |
download | dotfiles-fd9551f674242637b157d52ad31379422dfc849e.tar.gz |
fix bstraph.sh for athena
-rwxr-xr-x | bin/bstraph.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/bstraph.sh b/bin/bstraph.sh index 0bf11ffe..71a9e36a 100755 --- a/bin/bstraph.sh +++ b/bin/bstraph.sh @@ -12,6 +12,16 @@ cd $HOME # where but I see the output of find failing to find this dir mkdir -p $HOME/local/src +# On athena, clone URLs are different as they come from /home/git (and +# pushInsteadOf won't work because that can't append the required +# `.git'). So we must change to the athena branch now in order to get +# a fixed .mrconfig. +if [ "$(hostname)" = "athena" ]; then + cd $HOME/src/dotfiles + git checkout athena + cd $HOME +fi + # 1. install our two small helper scripts if ! which stow >/dev/null; then |