[SCM] libav/experimental: configure: fix sh_quote function
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:12:52 UTC 2013
The following commit has been merged in the experimental branch:
commit d72c981c30dc652d94080bb5668046ba9b489fe5
Author: Måns Rullgård <mans at mansr.com>
Date: Tue Jul 27 16:59:42 2010 +0000
configure: fix sh_quote function
Non-matching lists start with ! instead of the usual ^ in shell
patterns.
Originally committed as revision 24550 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/configure b/configure
index b4e987a..7e70dfb 100755
--- a/configure
+++ b/configure
@@ -306,7 +306,7 @@ c_escape(){
sh_quote(){
v=$(echo "$1" | sed "s/'/'\\\\''/g")
- test "x$v" = "x${v#*[^A-Za-z0-9_/.+-]}" || v="'$v'"
+ test "x$v" = "x${v#*[!A-Za-z0-9_/.+-]}" || v="'$v'"
echo "$v"
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list