Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

tools/get_status: only look at ur-agent if it exists, get kvm and kvm-cmd statuses #15

Open
wants to merge 2 commits into from

2 participants

@richlowe

Mostly, only get the git status of ur-agent if one actually exists (which it won't outside of, I presume, Joyent), thus gagging a warning from 'gmake live'.

While here, also pull the status of illumos-kvm and illumos-kvm-cmd, since they're there and it seemed worth doing.

@PiotrSikora

While there, you could also do s/illumos-live/smartos-live/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 1 deletion.
  1. +5 −1 tools/get_status
View
6 tools/get_status
@@ -31,5 +31,9 @@ echo "["
echo " { \"repo\": \"illumos-live\", $(get_status ${ROOT}) }"
echo " , { \"repo\": \"illumos-extra\", $(get_status ${ROOT}/projects/illumos-extra) }"
echo " , { \"repo\": \"illumos-joyent\", $(get_status ${ROOT}/projects/illumos) }"
-echo " , { \"repo\": \"ur-agent\", $(get_status ${ROOT}/projects/local/ur-agent) }"
+echo " , { \"repo\": \"illumos-kvm\", $(get_status ${ROOT}/projects/local/kvm) }"
+echo " , { \"repo\": \"illumos-kvm-cmd\", $(get_status ${ROOT}/projects/local/kvm-cmd) }"
+if [[ -d ${ROOT}/projects/local/ur-agent ]]; then
+ echo " , { \"repo\": \"ur-agent\", $(get_status ${ROOT}/projects/local/ur-agent) }"
+fi
echo "]"
Something went wrong with that request. Please try again.