diff scripts/update_board @ 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 5e79364c9b1d 7b63e3295343
line wrap: on
line diff
--- a/scripts/update_board	Sun Jun 19 12:43:43 2016 +0100
+++ b/scripts/update_board	Sun Jun 19 16:33:05 2016 +0100
@@ -3,10 +3,10 @@
 # This script copies the core Bela files to the BeagleBone Black
 # in preparation for building projects. It will remove any existing
 # Bela directory before copying the files over
-
 [ -z "$BBB_ADDRESS" ] && BBB_ADDRESS="root@192.168.7.2"
 [ -z "$BBB_BELA_HOME" ] && BBB_BELA_HOME="/root/Bela/"
-source .bela_common
+
+. ./.bela_common || exit 1  
 
 FILES_TO_COPY="core include Makefile libNE10.a libprussdrv.a examples Doxyfile"