summaryrefslogtreecommitdiffabout
path: root/build-aux
authorSergey Poznyakoff <gray@gnu.org.ua>2011-05-15 22:31:27 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-05-15 22:31:27 (GMT)
commit8eb1be8941228d01438436b53dd46b422ba980a3 (patch) (side-by-side diff)
treeb5698969a86796a43c4b839a06b640efde1e3c11 /build-aux
parente559f3f36c99988ee80ac4ec01f80ea6578beebe (diff)
downloadgrecs-8eb1be8941228d01438436b53dd46b422ba980a3.tar.gz
grecs-8eb1be8941228d01438436b53dd46b422ba980a3.tar.bz2
Minor fix
* build-aux/yyrename: Ignore #line statements.
Diffstat (limited to 'build-aux') (more/less context) (ignore whitespace changes)
-rwxr-xr-xbuild-aux/yyrename2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/yyrename b/build-aux/yyrename
index 5e7b1db..6964fb5 100755
--- a/build-aux/yyrename
+++ b/build-aux/yyrename
@@ -88,5 +88,5 @@ eval $* || exit $?
for file in $files
do
mv $file ${file}.tmp
- sed "s/yy/$pfx/g" ${file}.tmp > $file
+ sed "/^#line/b;/^# *[0-9]/b;s/yy/$pfx/g" ${file}.tmp > $file
done

Return to:

Send suggestions and report system problems to the System administrator.