Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
09fcbb12
Commit
09fcbb12
authored
Oct 02, 2014
by
Mike Hibler
Browse files
Fix some syntax that change between bash 4.1 and bash 4.3.
parent
97a27a03
Changes
1
Hide whitespace changes
Inline
Side-by-side
clientside/tmcc/common/checknode/checkutils.sh
View file @
09fcbb12
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment