Merge pull request #243 from dyyim741/fix-shellscript
Replaced $(...) instead of legacy backticked `...`
This commit is contained in:
commit
5dda7783b2
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ function setEnvironmentVariable() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Grep for variables that look like MySQL (APP_)
|
# Grep for variables that look like MySQL (APP_)
|
||||||
for _curVar in `env | grep _APP_ | awk -F = '{print $1}'`;do
|
for _curVar in $(env | grep _APP_ | awk -F = '{print $1}');do
|
||||||
# awk has split them by the equals sign
|
# awk has split them by the equals sign
|
||||||
# Pass the name and value to our function
|
# Pass the name and value to our function
|
||||||
setEnvironmentVariable ${_curVar} ${!_curVar}
|
setEnvironmentVariable ${_curVar} ${!_curVar}
|
||||||
|
|
Loading…
Reference in a new issue