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