summaryrefslogtreecommitdiff
path: root/regress/sys/net
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2012-07-10 16:58:30 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2012-07-10 16:58:30 +0000
commit67b0272f789cb5fe403568e2f3b334fa361ed236 (patch)
tree08ffc406d6ab4c8c96d74cc03d807d474aa539d7 /regress/sys/net
parentd95ad7dec649f71e96eefa72821ee653a6c8e8e3 (diff)
Do not write spaces around = in addr.py so it can also be read by
the shell.
Diffstat (limited to 'regress/sys/net')
-rw-r--r--regress/sys/net/pf_forward/Makefile12
-rw-r--r--regress/sys/net/pf_fragment/Makefile12
2 files changed, 12 insertions, 12 deletions
diff --git a/regress/sys/net/pf_forward/Makefile b/regress/sys/net/pf_forward/Makefile
index 7a9e60cbeea..623e0b90c6f 100644
--- a/regress/sys/net/pf_forward/Makefile
+++ b/regress/sys/net/pf_forward/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2012/07/10 16:52:45 bluhm Exp $
+# $OpenBSD: Makefile,v 1.3 2012/07/10 16:58:29 bluhm Exp $
# The following ports must be installed:
#
@@ -72,12 +72,12 @@ depend: addr.py
# Create python include file containing the addresses.
addr.py: Makefile
rm -f $@ $@.tmp
- echo 'SRC_IF = "${SRC_IF}"' >>$@.tmp
- echo 'SRC_MAC = "${SRC_MAC}"' >>$@.tmp
- echo 'PF_MAC = "${PF_MAC}"' >>$@.tmp
+ echo 'SRC_IF="${SRC_IF}"' >>$@.tmp
+ echo 'SRC_MAC="${SRC_MAC}"' >>$@.tmp
+ echo 'PF_MAC="${PF_MAC}"' >>$@.tmp
.for var in SRC_OUT PF_IN PF_OUT RT_IN RT_OUT DST_IN RDR_IN AF_IN
- echo '${var} = "${${var}}"' >>$@.tmp
- echo '${var}6 = "${${var}6}"' >>$@.tmp
+ echo '${var}="${${var}}"' >>$@.tmp
+ echo '${var}6="${${var}6}"' >>$@.tmp
.endfor
mv $@.tmp $@
diff --git a/regress/sys/net/pf_fragment/Makefile b/regress/sys/net/pf_fragment/Makefile
index b5d7212380a..35c82d2281b 100644
--- a/regress/sys/net/pf_fragment/Makefile
+++ b/regress/sys/net/pf_fragment/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2012/07/10 12:45:58 bluhm Exp $
+# $OpenBSD: Makefile,v 1.5 2012/07/10 16:58:29 bluhm Exp $
# The following ports must be installed:
#
@@ -67,12 +67,12 @@ depend: addr.py
# Create python include file containing the addresses.
addr.py: Makefile
rm -f $@ $@.tmp
- echo 'SRC_IF = "${SRC_IF}"' >>$@.tmp
- echo 'SRC_MAC = "${SRC_MAC}"' >>$@.tmp
- echo 'PF_MAC = "${PF_MAC}"' >>$@.tmp
+ echo 'SRC_IF="${SRC_IF}"' >>$@.tmp
+ echo 'SRC_MAC="${SRC_MAC}"' >>$@.tmp
+ echo 'PF_MAC="${PF_MAC}"' >>$@.tmp
.for var in SRC_OUT PF_IN PF_OUT RT_IN RT_OUT DST_IN RDR_IN
- echo '${var} = "${${var}}"' >>$@.tmp
- echo '${var}6 = "${${var}6}"' >>$@.tmp
+ echo '${var}="${${var}}"' >>$@.tmp
+ echo '${var}6="${${var}6}"' >>$@.tmp
.endfor
mv $@.tmp $@