~nova/benchwarmer

8e1573c0c7ac03e38aa83b09aba7da59b8cd6d64 — Nova Devereaux 5 months ago 62c41c0 master
Restore flag
1 files changed, 1 insertions(+), 1 deletions(-)

M build.sh
M build.sh => build.sh +1 -1
@@ 14,6 14,6 @@ function awswormworkspace() {
	aws workspaces start-workspaces --start-workspace-requests WorkspaceId=$( aws workspaces describe-workspaces | jq '.Workspaces[] | select(.UserName=="'$AWS_WS_NAME'") | select(.State=="Available" or .State=="STOPPED") | .WorkspaceId' -r )
}

curl -o calendar.ics $CALENDAR_URI
curl -so calendar.ics $CALENDAR_URI

cat calendar.ics | grep -P '^(?:LOCATION:|DTSTART[:;])' | grep -P "$EVENT_LOCATION_KEY" -B 1 | fgrep DTSTART | tzdateparse | fgrep -x $UPCOMING_HOUR -q && awswormworkspace