update Sat Sep 12 12:37:01 PDT 2009
[pkgsrc.git] / wip / coldfire / patches / patch-aa
1 $NetBSD$
2
3 --- tracer/mktracech.sh 2004-02-20 02:59:59.000000000 +0100
4 +++ tracer/mktracech.sh 2007-11-22 19:18:18.000000000 +0100
5 @@ -4,9 +4,9 @@
6  
7  outfile="generated.channels.h"
8  
9 -echo "/* We define TRACER_DECLARE(ch) so we can use this list more than once */" > $outfile
10 +echo "/* We define TRACER_DECLARE(ch) so we can use this list more than once */" > $1/tracer/$outfile
11  
12  find $1 -name \*.c -exec cat {} \; \
13         | grep TRACER_DEFAULT_CHANNEL\
14         | sed -e "s/TRACER_DEFAULT_CHANNEL/TRACER_DECLARE/"\
15 -       | sed -e "s/;.*$//" | sort | uniq >> $outfile
16 +       | sed -e "s/;.*$//" | sort | uniq >> $1/tracer/$outfile