[ARVADOS] updated: 9f1ce358ac564abf62965cccf2bf3afa3bcfef95

Git user git at public.curoverse.com
Fri Dec 2 13:23:52 EST 2016


Summary of changes:
 tools/arvbash/arvbash.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  9f1ce358ac564abf62965cccf2bf3afa3bcfef95 (commit)
      from  d25dedaec8ea386c18b7f61c08a3097ba3c4f26c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 9f1ce358ac564abf62965cccf2bf3afa3bcfef95
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Fri Dec 2 13:23:48 2016 -0500

    Use regex to determine whether to print help text for arvbash.sh. refs #10655

diff --git a/tools/arvbash/arvbash.sh b/tools/arvbash/arvbash.sh
index 6844ebd..c2785c4 100755
--- a/tools/arvbash/arvbash.sh
+++ b/tools/arvbash/arvbash.sh
@@ -40,7 +40,7 @@ if [[ "$1" = "--install" ]] ; then
     else
         echo "Already installed in ~/.bashrc"
     fi
-elif [[ $0 != "bash" ]] ; then
+elif ! [[ $0 =~ bash$ ]] ; then
     echo "$helpmessage"
 fi
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list