Project

General

Profile

« Previous | Next » 

Revision 9002

lib/util.sh: added isset ()

View differences:

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