OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a20df85
)
configure: fix sh_quote function
author
Måns Rullgård
<mans@mansr.com>
Tue, 27 Jul 2010 16:59:42 +0000
(16:59 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Tue, 27 Jul 2010 16:59:42 +0000
(16:59 +0000)
Non-matching lists start with ! instead of the usual ^ in shell
patterns.
Originally committed as revision 24550 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
b4e987a
..
7e70dfb
100755
(executable)
--- 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"
}