diff options
author | rmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d> | 2012-02-07 17:43:23 +0000 |
---|---|---|
committer | rmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d> | 2012-02-07 17:43:23 +0000 |
commit | 522a57d5cd2c6bc5882cd390142c9a7b8f211da8 (patch) | |
tree | 8b57d2f04a6df2543d95fceb1fb0f4225694eaf2 | |
parent | a28fa2c5a103b02529ca64b17b096b0aced46fd9 (diff) |
Set the TOP variable when extracting .SH files from Configure.
git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@121 2592e710-e01b-42a5-8df0-11608a6cc53d
-rw-r--r-- | mcon/U/Extract.U | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mcon/U/Extract.U b/mcon/U/Extract.U index d01d324..64d468b 100644 --- a/mcon/U/Extract.U +++ b/mcon/U/Extract.U @@ -28,11 +28,12 @@ ?MAKE:Extract: Mkdirp src ?MAKE: -pick add $@ %< ?F:./extract -?T:CONFIG SRC dir file +?T:CONFIG SRC TOP dir file : script used to extract .SH files with variable substitutions cat >extract <<EOS CONFIG=true SRC="$src" +TOP=`cd ..; pwd 2>/dev/null` EOS cat >>extract <<'EOS' echo "Doing variable substitutions on .SH files..." |