From 23f2dd4aa25965e8cc7e2f0434a47ea51aa4cd82 Mon Sep 17 00:00:00 2001 From: caes Date: Thu, 28 May 2020 03:42:17 -0400 Subject: [PATCH] Fixed an order issue. --- broker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!)