diff scripts/build_project.sh @ 447:86591d203c78 prerelease

Updated scripts to use "." instead of source, for sh compatibility
author Giulio Moro <giuliomoro@yahoo.it>
date Sun, 19 Jun 2016 16:33:05 +0100
parents 2b09be3fb0f2
children d9a4fc5357e7
line wrap: on
line diff
--- a/scripts/build_project.sh	Sun Jun 19 12:43:43 2016 +0100
+++ b/scripts/build_project.sh	Sun Jun 19 16:33:05 2016 +0100
@@ -6,8 +6,7 @@
 
 # set defaults unless variables are already set
 
-[ -f ".bela_common" ] && echo "loading bela_common" || { echo "Error: cannot find .bela_common . Make sure you run the script from within the scripts/ folder"; exit 1; } 
-source .bela_common
+. ./.bela_common || exit 1
 
 usage()
 {