mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
remove bash'ism in the samples build script (thanks to iwamatsu for the patch)
This commit is contained in:
parent
e5872cd8bb
commit
1d63112714
@ -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…
Reference in New Issue
Block a user