# HG changeset patch # User Giulio Moro # Date 1466523132 -3600 # Node ID 441c8429f27cfa1edad5995895fb2aedc44161ff # Parent 7eefd4b3aec36084d0be965fc3db0ccc6bd25941 better error message in build_pd_heavy diff -r 7eefd4b3aec3 -r 441c8429f27c scripts/build_pd_heavy.sh --- a/scripts/build_pd_heavy.sh Tue Jun 21 16:28:59 2016 +0100 +++ b/scripts/build_pd_heavy.sh Tue Jun 21 16:32:12 2016 +0100 @@ -102,7 +102,7 @@ # These files will be cleared from $projectpath before calling uploader.py #TODO: get a reliable, exhaustive, up-to-date list. -HEAVY_FILES='Heavy* Hv* Message* Signal*' +HEAVY_FILES='Heavy* Hv*' set_date reference_time_file="$projectpath"/ @@ -129,7 +129,7 @@ # TODO: find a more reliable way of doing this. e.g.: have uploader.py fail with a non-zero error code. for file in $HEAVY_FILES; do - ls "$projectpath"/$file >/dev/null 2>&1 || { echo "The online compiler failed, please try again."; exit 1; } + ls "$projectpath"/$file >/dev/null 2>&1 || { printf "The online compiler did not return all the files or failed without notice, please try again and/or change HEAVY_FILES to be less strict.\n\n"; exit 1; } done # Apply any Bela-specific patches here