Commit 1d631127 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

remove bash'ism in the samples build script (thanks to iwamatsu for the patch)

parent e5872cd8
#!/bin/sh #!/bin/sh
if [[ $# > 0 ]] ; then if [ $# -gt 0 ] ; then
base=`basename $1 .c` base=`basename $1 .c`
echo "compiling $base" echo "compiling $base"
gcc -ggdb `pkg-config opencv --cflags --libs` $base.c -o $base gcc -ggdb `pkg-config opencv --cflags --libs` $base.c -o $base
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment