Commit 89e182bf authored by Joe Holden's avatar Joe Holden

Don't bother runnning get* functions if DISTROEXEC is set, to be continued...

parent b77458c4
......@@ -454,15 +454,16 @@ getvirt() {
return 0
}
getos
getkernel
getarch
getdistro
getversion
getvirt
getcont
if [ -z ${DISTROEXEC+x} ]; then
getos
getkernel
getarch
getdistro
getversion
getvirt
getcont
if [ "${AGENT_LIBDIR}" -o "${MK_LIBDIR}" ]; then
echo "<<<distro>>>"
fi
......
Markdown is supported
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