]> git.nbdom.net Git - nb.git/commitdiff
bin/nb-update
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 19 Feb 2019 03:23:56 +0000 (03:23 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Tue, 19 Feb 2019 03:23:56 +0000 (03:23 +0000)
bin/nb-update

index ad5d8295caf4c8c436e2b5ab0f3016394fdd42b1..40aa744e33caf9a6c99cedf4a8ef4761c7a8c6bc 100755 (executable)
@@ -116,11 +116,11 @@ for repo in $(nb_repos); do
 
        echo
        (
-               nb_api_post_host_info "${NAME}.$name.name" "$name"
-               nb_api_post_host_info "${NAME}.$name.path" "$repo"
-               nb_api_post_host_info "${NAME}.$name.branch" "$branch"
-               nb_api_post_host_info "${NAME}.$name.url" "$(git remote get-url origin)"
-               nb_api_post_host_info "${NAME}.$name.exit_code" "$(git status --short &> /dev/null; echo $?)"
+               nb_api_post_host_info "${NAME}.$repo.name" "$name"
+               nb_api_post_host_info "${NAME}.$repo.path" "$repo"
+               nb_api_post_host_info "${NAME}.$repo.branch" "$branch"
+               nb_api_post_host_info "${NAME}.$repo.url" "$(git remote get-url origin)"
+               nb_api_post_host_info "${NAME}.$repo.exit_code" "$(git status --short &> /dev/null; echo $?)"
 # NB 19.02.19          nb_api_post_host_info "${NAME}.$repo" "name:$name branch:$branch"
 # NB 19.02.19          nb_api_post_host_info "${NAME}.$repo.git.status.exit_code" "$(git status --short &> /dev/null; echo $?)"
                # NB 06.02.18   key="repo.$name.$branch"