Browse code

Export OS_CACERT after sourcing .stackenv file

This makes sure that it is available to subprocesses like the other
authentication data.

Change-Id: I513b7c2620b171ce20a1ceb5536226f3a69f2b82
Closes-Bug: 1760901

Jens Harbott authored on 2018/04/04 00:16:30
Showing 1 changed files
... ...
@@ -29,6 +29,7 @@ source $RC_DIR/stackrc
29 29
 # Load the last env variables if available
30 30
 if [[ -r $RC_DIR/.stackenv ]]; then
31 31
     source $RC_DIR/.stackenv
32
+    export OS_CACERT
32 33
 fi
33 34
 
34 35
 # Get some necessary configuration