projects
/
platform
/
upstream
/
automake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae387d3
)
ylwrap: use proper quoting inside a `...` substitution
author
Stefano Lattarini
<stefano.lattarini@gmail.com>
Sat, 14 Jul 2012 09:07:34 +0000
(11:07 +0200)
committer
Akim Demaille
<akim@lrde.epita.fr>
Sat, 14 Jul 2012 14:59:33 +0000
(16:59 +0200)
* lib/ylwrap ($target): Here, when redefining this to a temporary file.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/ylwrap
patch
|
blob
|
history
diff --git
a/lib/ylwrap
b/lib/ylwrap
index
73dba2b
..
7befa46
100755
(executable)
--- a/
lib/ylwrap
+++ b/
lib/ylwrap
@@
-190,7
+190,7
@@
if test $ret -eq 0; then
# compare them to existing versions.
if test $from != $parser; then
realtarget="$target"
- target=tmp-`printf '%s\n' "$target" | sed
s/.*[\\/]//g
`
+ target=tmp-`printf '%s\n' "$target" | sed
's|.*[\\/]||g'
`
fi
# Munge "#line" or "#" directives. Don't let the resulting