2006-08-17 01:54:32 +01:00
|
|
|
# the other stdenv could change the SHELL variable,
|
|
|
|
# so we have to remember its value.
|
|
|
|
origShell=$SHELL
|
|
|
|
origGcc=$GCC
|
|
|
|
|
2006-08-15 22:25:14 +01:00
|
|
|
source $STDENV/setup
|
|
|
|
source $SUBSTITUTE
|
|
|
|
|
|
|
|
mkdir $OUT
|
|
|
|
|
2006-08-17 01:54:32 +01:00
|
|
|
SHELL=$origShell
|
|
|
|
GCC=$origGcc
|
|
|
|
|
2006-08-15 22:25:14 +01:00
|
|
|
substitute "$SETUP" "$OUT/setup" \
|
|
|
|
--subst-var INITIALPATH \
|
|
|
|
--subst-var GCC \
|
|
|
|
--subst-var SHELL
|