boon: make this script suitable for sourcing
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 4 Jun 2014 22:01:46 +0000 (15:01 -0700)
committerColin Patrick Mccabe <cmccabe@alumni.cmu.edu>
Wed, 4 Jun 2014 22:02:00 +0000 (15:02 -0700)
Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>

boon

diff --git a/boon b/boon
index 5305f24..7e1a5cd 100755 (executable)
--- a/boon
+++ b/boon
@@ -32,8 +32,7 @@ while true; do
         if [ $FOUND_BOON -eq 0 ]; then
             die "Error: couldn't find .boon"
         else
-            # start a shell with our new environment 
-            bash
+            exit 0
         fi
     fi
 done