changeset 438:ad3f61134bb4 prerelease

More compatibility
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 18 Jun 2016 02:25:48 +0100
parents 2e058007c6bc
children e49ae69acbe8
files scripts/build_project.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]"