Mercurial > hg > beaglert
comparison 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 |
comparison
equal
deleted
inserted
replaced
446:566bb80c2d14 | 447:86591d203c78 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 # | 2 # |
3 # This script copies the core Bela files to the BeagleBone Black | 3 # This script copies the core Bela files to the BeagleBone Black |
4 # in preparation for building projects. It will remove any existing | 4 # in preparation for building projects. It will remove any existing |
5 # Bela directory before copying the files over | 5 # Bela directory before copying the files over |
6 | |
7 [ -z "$BBB_ADDRESS" ] && BBB_ADDRESS="root@192.168.7.2" | 6 [ -z "$BBB_ADDRESS" ] && BBB_ADDRESS="root@192.168.7.2" |
8 [ -z "$BBB_BELA_HOME" ] && BBB_BELA_HOME="/root/Bela/" | 7 [ -z "$BBB_BELA_HOME" ] && BBB_BELA_HOME="/root/Bela/" |
9 source .bela_common | 8 |
9 . ./.bela_common || exit 1 | |
10 | 10 |
11 FILES_TO_COPY="core include Makefile libNE10.a libprussdrv.a examples Doxyfile" | 11 FILES_TO_COPY="core include Makefile libNE10.a libprussdrv.a examples Doxyfile" |
12 | 12 |
13 # The following variables are manually copied from the Makefile. | 13 # The following variables are manually copied from the Makefile. |
14 # It is a bit nasty, but here we need to handle the case that the board may be | 14 # It is a bit nasty, but here we need to handle the case that the board may be |