projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'thehyve/master' LocalJumpError in arvados-login-sync
[arvados.git]
/
tools
/
arvbash
/
arvbash.sh
diff --git
a/tools/arvbash/arvbash.sh
b/tools/arvbash/arvbash.sh
index 6844ebd693dc28142945e39bcdc1682089adf120..b47e3b83ef63cf6c716bd8bc9903b02779580101 100755
(executable)
--- a/
tools/arvbash/arvbash.sh
+++ b/
tools/arvbash/arvbash.sh
@@
-1,4
+1,8
@@
#!/bin/bash
#!/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
# bash functions for managing Arvados tokens and other conveniences.
read -rd "\000" helpmessage <<EOF
@@
-40,7
+44,7
@@
if [[ "$1" = "--install" ]] ; then
else
echo "Already installed in ~/.bashrc"
fi
else
echo "Already installed in ~/.bashrc"
fi
-elif
[[ $0 != "bash"
]] ; then
+elif
! [[ $0 =~ bash$
]] ; then
echo "$helpmessage"
fi
echo "$helpmessage"
fi