X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=debian%2Fpatches%2F500_remove_bashism.patch;fp=debian%2Fpatches%2F500_remove_bashism.patch;h=b2581ba0dcb7d5cb8b2783b39b9bd5cad24c378c;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hp=0000000000000000000000000000000000000000;hpb=454138ff8a20f6edb9b65a910101403d8b520643;p=opencv diff --git a/debian/patches/500_remove_bashism.patch b/debian/patches/500_remove_bashism.patch new file mode 100644 index 0000000..b2581ba --- /dev/null +++ b/debian/patches/500_remove_bashism.patch @@ -0,0 +1,12 @@ +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530153 + +--- a/samples/c/build_all.sh 2009-11-29 15:57:55.000000000 +0900 ++++ b/samples/c/build_all.sh 2009-11-29 15:58:01.000000000 +0900 +@@ -1,6 +1,6 @@ + #!/bin/sh + +-if [[ $# > 0 ]] ; then ++if [ $# > 0 ] ; then + base=`basename $1 .c` + echo "compiling $base" + gcc -ggdb `pkg-config opencv --cflags --libs` $base.c -o $base