2004-03-11 18:26:14 +01:00
|
|
|
p1=$param1
|
|
|
|
p2=$param2
|
|
|
|
p3=$param3
|
|
|
|
p4=$param4
|
|
|
|
p5=$param5
|
|
|
|
|
2004-03-08 17:02:46 +01:00
|
|
|
. $stdenv/setup
|
2003-11-02 18:42:19 +01:00
|
|
|
|
|
|
|
mkdir $out || exit 1
|
|
|
|
|
|
|
|
sed \
|
2004-03-08 17:02:46 +01:00
|
|
|
-e "s^@preHook@^$preHook^g" \
|
|
|
|
-e "s^@postHook@^$postHook^g" \
|
|
|
|
-e "s^@initialPath@^$initialPath^g" \
|
|
|
|
-e "s^@gcc@^$gcc^g" \
|
2004-03-30 14:46:52 +02:00
|
|
|
-e "s^@shell@^$shell^g" \
|
2004-03-11 18:26:14 +01:00
|
|
|
-e "s^@param1@^$p1^g" \
|
|
|
|
-e "s^@param2@^$p2^g" \
|
|
|
|
-e "s^@param3@^$p3^g" \
|
|
|
|
-e "s^@param4@^$p4^g" \
|
|
|
|
-e "s^@param5@^$p5^g" \
|
2003-11-02 18:42:19 +01:00
|
|
|
< $setup > $out/setup || exit 1
|