summaryrefslogtreecommitdiff
path: root/regress/simulation
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-03-12 15:54:43 +0000
committerfukachan <fukachan>2004-03-12 15:54:43 +0000
commit7e2df445dd92f61053aed7df588740a080451ee5 (patch)
tree3749f0d2978f65c07d5043e255e00f958d9a5ef2 /regress/simulation
parentb8ebd0ea990ed1a1b58bb08900b618197209c30c (diff)
downloadfml8-7e2df445dd92f61053aed7df588740a080451ee5.tar.gz
fml8-7e2df445dd92f61053aed7df588740a080451ee5.tar.bz2
fml8-7e2df445dd92f61053aed7df588740a080451ee5.zip
header configurable
Diffstat (limited to 'regress/simulation')
-rwxr-xr-xregress/simulation/emul_command.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/regress/simulation/emul_command.sh b/regress/simulation/emul_command.sh
index 8d1089ee..825e38bd 100755
--- a/regress/simulation/emul_command.sh
+++ b/regress/simulation/emul_command.sh
@@ -1,11 +1,13 @@
#!/bin/sh
#
-# $FML: emul_command.sh,v 1.2 2001/11/27 08:41:14 fukachan Exp $
+# $FML: emul_command.sh,v 1.3 2003/03/15 09:19:37 fukachan Exp $
#
buf=$PWD/__command$$__
trap "rm -f $buf" 0 1 3 15
+header_file=${header:-text=empty}
+
DO () {
(
@@ -32,8 +34,7 @@ DO () {
(cd ../../fml/etc/;sh .gen.sh)
-
-cat ./../testmails/text=empty > $buf
+cat ./../testmails/$header_file > $buf
cat >> $buf
list=$buf