Skip to content
Snippets Groups Projects
Commit 4c8d5924 authored by Robert Martin-Legene's avatar Robert Martin-Legene
Browse files

Apparently the change using BASH_VERSION never made it to get uploaded? Well,...

Apparently the change using BASH_VERSION never made it to get uploaded? Well, here is the change 'again'. Sorry!
parent 27e99040
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ function fatal()
}
trap "fatal Argh!" ERR
test "$( basename $SHELL 2>/dev/null )" = "bash" ||
test -n "$BASH_VERSION" ||
fatal "This file must be source(d) from bash."
test "$( caller 2>/dev/null | awk '{print $1}' )" != "0" ||
fatal "This file must be source(d), not executed."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment