10 lines
140 B
Bash
Executable File
10 lines
140 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
function environment_variable_exists {
|
|
eval "value=\"\${$1+x}\""
|
|
[ ! -z $value ]
|
|
}
|
|
|
|
environment_variable_exists
|
|
|