#!/bin/bash
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
# bash functions for managing Arvados tokens and other conveniences.
read -rd "\000" helpmessage <<EOF
With no arguments, list available arvboxes.
arvopen:
- Open an Arvados uuid in web browser (http://curover.se)
+ Open an Arvados uuid in web browser (http://arvadosapi.com)
arvissue
Open an Arvados ticket in web browser (http://dev.arvados.org)
else
echo "Already installed in ~/.bashrc"
fi
-elif [[ $0 != "bash" ]] ; then
+elif ! [[ $0 =~ bash$ ]] ; then
echo "$helpmessage"
fi
arvopen() {
if [[ -n "$1" ]] ; then
- xdg-open https://curover.se/$1
+ xdg-open https://arvadosapi.com/$1
else
echo "Open Arvados uuid in browser"
echo "Usage: arvopen uuid"