Module Name: src
Committed By: pooka
Date: Tue Apr 30 11:29:12 UTC 2013
Modified Files:
src/sys/rump/include/rump: makerumpdefs.sh
Log Message:
fix sed command
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/rump/include/rump/makerumpdefs.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/include/rump/makerumpdefs.sh
diff -u src/sys/rump/include/rump/makerumpdefs.sh:1.13 src/sys/rump/include/rump/makerumpdefs.sh:1.14
--- src/sys/rump/include/rump/makerumpdefs.sh:1.13 Thu Dec 13 17:17:00 2012
+++ src/sys/rump/include/rump/makerumpdefs.sh Tue Apr 30 11:29:12 2013
@@ -8,7 +8,7 @@ echo Generating rumpdefs.h
rm -f rumpdefs.h
exec > rumpdefs.h
-printf '/* $NetBSD: makerumpdefs.sh,v 1.13 2012/12/13 17:17:00 pooka Exp $ */\n\n'
+printf '/* $NetBSD: makerumpdefs.sh,v 1.14 2013/04/30 11:29:12 pooka Exp $ */\n\n'
printf '/*\n *\tAUTOMATICALLY GENERATED. DO NOT EDIT.\n */\n\n'
printf '#ifndef _RUMP_RUMPDEFS_H_\n'
printf '#define _RUMP_RUMPDEFS_H_\n\n'
@@ -38,7 +38,7 @@ sed -n '/#define O_[A-Z]* *0x/s/O_/RUMP_
< ../../../sys/fcntl.h
fromvers ../../../sys/vnode.h
-sed -n '/enum vtype.*{/{s/vtype/rump_&/;s/ V/ RUMP_V/gp}' < ../../../sys/vnode.h
+sed -n '/enum vtype.*{/{s/vtype/rump_&/;s/ V/ RUMP_V/gp;}' <../../../sys/vnode.h
sed -n '/#define.*LK_[A-Z]/s/LK_/RUMP_LK_/gp' <../../../sys/vnode.h \
| sed 's,/\*.*$,,'