Configurazione per ikaros

This commit is contained in:
Fabio Scotto di Santolo
2022-07-06 10:37:37 +02:00
parent 3f9e3afb01
commit e9733a8e6e
6 changed files with 62 additions and 64 deletions

View File

@@ -1,6 +1,9 @@
#!/bin/bash
#!/usr/bin/env bash
GOPATH=$HOME/Go
GOBIN=$GOPATH/bin
export GOPATH
export GOBIN
if [[ "$HOST" == 'nymph.localhost' ]]; then
export GOPATH=$HOME/Go
elif [[ "$HOST" == 'ikaros.fritz.box' ]]; then
export GOPATH=$HOME/Library/Go
fi
export GOBIN=$GOPATH/bin