# HG changeset patch # User Giulio Moro # Date 1466381416 -3600 # Node ID aa3f38d8a9b6ebf2728929732396c4caf737765a # Parent 0567af952cfa60c3f7d14d10289090b87d6553ca using relative links in examples/core diff -r 0567af952cfa -r aa3f38d8a9b6 examples/core/link_core.sh --- 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 diff -r 0567af952cfa -r aa3f38d8a9b6 scripts/update_board --- 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..."