From: Michal Vaner Date: Sun, 20 Jul 2008 20:47:10 +0000 (+0200) Subject: Rewrite #include "..." to #include <...> when installing. X-Git-Tag: holmes-import~377 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7a4e2d8578a2f6567d3827491e65d75ef9ab703b;p=libucw.git Rewrite #include "..." to #include <...> when installing. --- diff --git a/build/install-includes b/build/install-includes index 1737b46a..f403fd37 100755 --- a/build/install-includes +++ b/build/install-includes @@ -10,7 +10,7 @@ while [ -n "$1" ] ; do if [ ! -f "$DEST/$1" -o "$SRC/$1" -nt "$DEST/$1" ] ; then echo "INC $SRC/$1 -> $DEST/$1" mkdir -p $DEST/`dirname $1` - cp $SRC/$1 $DEST/$1 + sed -e 's/^\(#include[ ]*\)"\(.*\)"/\1<\2>/' <$SRC/$1 >$DEST/$1 fi shift done