changeset 456:aa3f38d8a9b6 prerelease

using relative links in examples/core
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 20 Jun 2016 01:10:16 +0100
parents 0567af952cfa
children 44e5c12ce165
files examples/core/link_core.sh scripts/update_board
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/examples/core/link_core.sh	Sun Jun 19 23:31:25 2016 +0100
+++ b/examples/core/link_core.sh	Mon Jun 20 01:10:16 2016 +0100
@@ -1,2 +1,3 @@
-ln -s /root/Bela/core/ /root/Bela/examples/core/source
-ln -s /root/Bela/include/ /root/Bela/examples/core/include
\ No newline at end of file
+#!/bin/sh
+ln -f -s ../../core/ source
+ln -f -s ../../include/ include
--- a/scripts/update_board	Sun Jun 19 23:31:25 2016 +0100
+++ b/scripts/update_board	Mon Jun 20 01:10:16 2016 +0100
@@ -171,7 +171,7 @@
 fi
 
 printf "Building example projects..."
-ssh $BBB_ADDRESS "sh $BBB_BELA_HOME/examples/core/link_core.sh"
+ssh $BBB_ADDRESS "cd $BBB_BELA_HOME/examples/core/ && ./link_core.sh"
 error_handler $? "\nError while building example projects\n"
 
 printf "Cleaning build environment..."