Mercurial > hg > beaglert
comparison scripts/build_project.sh @ 438:ad3f61134bb4 prerelease
More compatibility
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sat, 18 Jun 2016 02:25:48 +0100 |
parents | cea66c2af560 |
children | e49ae69acbe8 |
comparison
equal
deleted
inserted
replaced
437:2e058007c6bc | 438:ad3f61134bb4 |
---|---|
78 | 78 |
79 C_FILES=$($FIND_STRING -name "*.c") | 79 C_FILES=$($FIND_STRING -name "*.c") |
80 CPP_FILES=$($FIND_STRING -name "*.cpp") | 80 CPP_FILES=$($FIND_STRING -name "*.cpp") |
81 ASM_FILES=$($FIND_STRING -name "*.S") | 81 ASM_FILES=$($FIND_STRING -name "*.S") |
82 | 82 |
83 if [[ -z $C_FILES ]] && [[ -z $CPP_FILES ]] && [[ -z $ASM_FILES ]] | 83 if [ -z $C_FILES ] && [ -z $CPP_FILES ] && [ -z $ASM_FILES ] |
84 then | 84 then |
85 echo "Please provide a directory containing .c, .cpp or .S files." | 85 echo "Please provide a directory containing .c, .cpp or .S files." |
86 # echo "Usage: $THIS_SCRIPT [directory-with-source-files]" | 86 # echo "Usage: $THIS_SCRIPT [directory-with-source-files]" |
87 usage | 87 usage |
88 exit | 88 exit |