Update to 2.0.0 tree from current Fremantle build
[opencv] / debian / patches / 500_remove_bashism.patch
1 # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530153
2
3 --- a/samples/c/build_all.sh    2009-11-29 15:57:55.000000000 +0900
4 +++ b/samples/c/build_all.sh    2009-11-29 15:58:01.000000000 +0900
5 @@ -1,6 +1,6 @@
6  #!/bin/sh
7  
8 -if [[ $# > 0 ]] ; then
9 +if [ $# > 0 ] ; then
10         base=`basename $1 .c`
11         echo "compiling $base"
12         gcc -ggdb `pkg-config opencv --cflags --libs` $base.c -o $base