summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-19 17:28:00 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-19 17:28:00 +0100
commit40af126864cdfe1b8ede5e9c9176f1744968fa32 (patch)
tree7fedc0c7ae76505c8bf1d5ad57afb700a0a30435
parent1ff0776d9336ed7896ab9df1dec616d717146759 (diff)
downloadffi-efl-40af126864cdfe1b8ede5e9c9176f1744968fa32.zip
ffi-efl-40af126864cdfe1b8ede5e9c9176f1744968fa32.tar.gz
tools/extract-api.sh : do not use cat | sed, just sed
-rwxr-xr-xtools/extract-api.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/extract-api.sh b/tools/extract-api.sh
index 9599f2b..372a8ff 100755
--- a/tools/extract-api.sh
+++ b/tools/extract-api.sh
@@ -55,7 +55,7 @@ for header in \
#
for what in functions enums types callbacks variables; do
F=$FILE-$what
- cat $header | sed -r -n -f $P/sed-$what > $NEXT/$F
+ sed -r -n -f "$P/sed-$what" $header > $NEXT/$F
if [ -f $PREV/$F ]; then
diff -u0 $PREV/$F $NEXT/$F > $P/$F-diff
N=$(cat $P/$F-diff | wc -l)