Skip to content
Snippets Groups Projects
Commit fea0cefc authored by Christian Goetze (CG)'s avatar Christian Goetze (CG)
Browse files

Add a more precise error check for "autobuild source_environment".

parent dc8092a5
No related branches found
No related tags found
No related merge requests found
...@@ -142,7 +142,16 @@ then ...@@ -142,7 +142,16 @@ then
fi fi
# load autbuild provided shell functions and variables # load autbuild provided shell functions and variables
eval "$("$AUTOBUILD" source_environment)" if "$AUTOBUILD" source_environment > source_environment
then
. source_environment
else
# dump environment variables for debugging
env|sort
record_failure "autobuild source_environment failed"
cat source_environment >&3
exit 1
fi
# dump environment variables for debugging # dump environment variables for debugging
env|sort env|sort
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment