summaryrefslogtreecommitdiff
path: root/plan9/fndvers
diff options
context:
space:
mode:
Diffstat (limited to 'plan9/fndvers')
-rw-r--r--plan9/fndvers7
1 files changed, 6 insertions, 1 deletions
diff --git a/plan9/fndvers b/plan9/fndvers
index c45c42bdf9..ad622e7fe8 100644
--- a/plan9/fndvers
+++ b/plan9/fndvers
@@ -5,5 +5,10 @@
ed config.plan9 <<!
g/_P9P_VERSION/s//$p9pvers/g
g/_P9P_OBJTYPE/s//$objtype/g
-w $1
+w config.h
+!
+
+ed plan9/genconfig.pl<<!
+g/_P9P_VERSION/s//$p9pvers/g
+w plan9/genconfig.pl
!