git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f81781
)
Don't use echo -e
author
krj
<krj@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 4 Oct 2009 10:51:53 +0000
(10:51 +0000)
committer
krj
<krj@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 4 Oct 2009 10:51:53 +0000
(10:51 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30297
f5534014
-38df-0310-8fa8-
9805f1628bb7
tools/make-tapreg-dotc
patch
|
blob
|
history
diff --git
a/tools/make-tapreg-dotc
b/tools/make-tapreg-dotc
index 2dc419d9009de1a43c6a85d301843dc31ffc39c0..9bf8c386387abbf5f6ac2d72bc9c48e5388775cb 100755
(executable)
--- a/
tools/make-tapreg-dotc
+++ b/
tools/make-tapreg-dotc
@@
-28,7
+28,8
@@
echo '#include "register.h"' >>${outfile}-tmp
#
# Build code to call all the tap listener registration routines.
#
-echo -e 'void register_all_tap_listeners(void)\n{' >>${outfile}-tmp
+echo 'void register_all_tap_listeners(void){' >>${outfile}-tmp
+echo '' >>${outfile}-tmp
for f in "$@"
do
if [ -f $f ]
@@
-42,6
+43,7
@@
done | while read func; do
echo " { extern void $func(void);" >>${outfile}-tmp
echo " $func();}" >>${outfile}-tmp
done
-echo -e '}\n' >>${outfile}-tmp
+echo '}' >>${outfile}-tmp
+echo '' >>${outfile}-tmp
mv ${outfile}-tmp ${outfile}