Fixed an order issue.

This commit is contained in:
caes 2020-05-28 03:42:17 -04:00
parent 3496955095
commit 23f2dd4aa2

View File

@ -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!)