Skip to content

Commit

Permalink
Check if we're in a subshell or not getlantern/lantern#2334
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Mar 27, 2015
1 parent 4e56729 commit 6103ff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setenv.bash
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

function die() {
echo $*
exit 1
[[ "${BASH_SOURCE[0]}" == "${0}" ]] && exit 1
}

DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
Expand Down

0 comments on commit 6103ff5

Please sign in to comment.