From aad12dcc668dfdfdb193e4e734ceb7235ea6edfc Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sat, 14 Jul 2012 11:07:34 +0200 Subject: [PATCH] ylwrap: use proper quoting inside a `...` substitution * lib/ylwrap ($target): Here, when redefining this to a temporary file. Signed-off-by: Stefano Lattarini --- lib/ylwrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ylwrap b/lib/ylwrap index 73dba2b..7befa46 100755 --- 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 -- 2.7.4