Commit 09fcbb12 authored by Mike Hibler's avatar Mike Hibler
Browse files

Fix some syntax that change between bash 4.1 and bash 4.3.

parent 97a27a03
......@@ -32,7 +32,7 @@ fi
[[ -z "${host-}" ]] && declare host #emulab hostname
[[ -z "${failed-}" ]] && declare failed="" #major falure to be commicated to user
[[ -z "${os-}" ]] && declare os="" #[Linux|FreeBSD] for now
[[ -z "${todo_exit-}" ]] && declare -a todo_exit
[[ -z "${todo_exit-}" ]] && declare -a todo_exit=('echo "Exit trap"')
[[ -z "${hwinv[hwinvidx]-}" ]] && declare -A hwinv["hwinvidx"]="" # hwinv from tmcc
[[ -z "${hwinvcopy[hwinvidx]-}" ]] && declare -A hwinvcopy["hwinvidx"]="" # a copy of hwinv from tmcc
[[ -z "${tmccinfo[hwinvidx]-}" ]] && declare -A tmccinfo["hwinvidx"]="" # info from tmcc hwinfo
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment