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

pull/13383/head
Vadim Pisarevsky 15 years ago
parent e5872cd8bb
commit 1d63112714
  1. 2
      samples/c/build_all.sh

@ -1,6 +1,6 @@
#!/bin/sh
if [[ $# > 0 ]] ; then
if [ $# -gt 0 ] ; then
base=`basename $1 .c`
echo "compiling $base"
gcc -ggdb `pkg-config opencv --cflags --libs` $base.c -o $base

Loading…
Cancel
Save