mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 05:06:29 +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
|
#!/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
|
||||||
|
Loading…
Reference in New Issue
Block a user