bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/12964] Unportable use of sed in binutils/Makefile.am


From: marcus at mc dot pp.se
Subject: [Bug binutils/12964] Unportable use of sed in binutils/Makefile.am
Date: Wed, 6 Jul 2011 10:50:37 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12964

--- Comment #1 from Marcus Comstedt <marcus at mc dot pp.se> 2011-07-06 
10:50:19 UTC ---
I suggest the following replacement:

    awk '/^program_transform_name=/ {print
"program_transform_name=\"$(program_transform_name)\""; next} {print}' < $< >
$@

Note that I also added quotes around the expansion of
$(program_transform_name), becase otherwise the generated script will just fail
to run instead (as the program_transform_name contains shell metacharacters).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]