# HG changeset patch # User Giulio Moro # Date 1466213148 -3600 # Node ID ad3f61134bb4eb7b8b5d930d8d1660a82d922d2d # Parent 2e058007c6bc3307eb8ac7338e9a623deb36abb6 More compatibility diff -r 2e058007c6bc -r ad3f61134bb4 scripts/build_project.sh --- a/scripts/build_project.sh Sat Jun 18 02:21:04 2016 +0100 +++ b/scripts/build_project.sh Sat Jun 18 02:25:48 2016 +0100 @@ -80,7 +80,7 @@ CPP_FILES=$($FIND_STRING -name "*.cpp") ASM_FILES=$($FIND_STRING -name "*.S") -if [[ -z $C_FILES ]] && [[ -z $CPP_FILES ]] && [[ -z $ASM_FILES ]] +if [ -z $C_FILES ] && [ -z $CPP_FILES ] && [ -z $ASM_FILES ] then echo "Please provide a directory containing .c, .cpp or .S files." # echo "Usage: $THIS_SCRIPT [directory-with-source-files]"