Files
cgrates/data/ansible/docker/golang.sh.j2
2020-03-06 18:37:28 +01:00

12 lines
244 B
Django/Jinja

#!/bin/sh
{{ ansible_managed | comment('plain') }}
export GOROOT='{{ golang_install_dir }}'
export PATH=$PATH:$GOROOT/bin
{% if golang_gopath not in (None, '') %}
export GOPATH="{{ golang_gopath }}"
export PATH=$PATH:$GOPATH/bin
{% endif %}