diff --git a/broker.sh b/broker.sh index 47002c7..b13460e 100755 --- a/broker.sh +++ b/broker.sh @@ -560,7 +560,6 @@ gitlab_http_port="45080" gitlab_ssh_port="45022" gitlab_owner="$dealer" -gitlab_token=$(gitlab_get_token) gitlab_url="gitlab.adamo.network" gitlab_http_url="http://${gitlab_url}:${gitlab_http_port}" gitlab_ssh_url="ssh://git@${gitlab_url}:${gitlab_ssh_port}" @@ -606,6 +605,7 @@ git_list_dirs_under () { gitlab_get_token () { cat ${program_root}/gitlab_read.pat } +gitlab_token=$(gitlab_get_token) # $1: directory # $2: gitlab namespace path (this better exist!)