Revision 9002
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/util.sh | ||
---|---|---|
3 | 3 |
|
4 | 4 |
function extern () { (exec "$@") || return; } |
5 | 5 |
|
6 |
isset () { test -n "${!1+isset}"; } |
|
7 |
|
|
6 | 8 |
realpath () { readlink -f -- "$1"; } |
7 | 9 |
|
8 | 10 |
include_guard_var () { realpath "$1"|"extern" sed 's/[^a-zA-Z0-9_]/_/g'; } |
Also available in: Unified diff
lib/util.sh: added isset ()