Mercurial > hg > beaglert
comparison scripts/build_project.sh @ 249:f2d47df23c68
build_project.sh launches from source folder, so to preserve relative paths
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Thu, 28 Apr 2016 19:29:28 +0100 |
parents | c74006ef86ca |
children | f51132ee0080 |
comparison
equal
deleted
inserted
replaced
248:6ca9b3f557bf | 249:f2d47df23c68 |
---|---|
112 else | 112 else |
113 echo "Building and running project..." | 113 echo "Building and running project..." |
114 | 114 |
115 if [ $RUN_WITHOUT_SCREEN -ne 0 ] | 115 if [ $RUN_WITHOUT_SCREEN -ne 0 ] |
116 then | 116 then |
117 ssh -t $BBB_ADDRESS "make all -C $BBB_PATH && $BBB_PATH/BeagleRT $COMMAND_ARGS" | 117 ssh -t $BBB_ADDRESS "cd $BBB_PATH && make all && cd source && ../BeagleRT $COMMAND_ARGS" |
118 elif [ $RUN_IN_FOREGROUND -eq 0 ] | 118 elif [ $RUN_IN_FOREGROUND -eq 0 ] |
119 then | 119 then |
120 ssh $BBB_ADDRESS "make all -C $BBB_PATH && screen -S BeagleRT -d -m $BBB_PATH/BeagleRT $COMMAND_ARGS" | 120 ssh $BBB_ADDRESS "cd $BBB_PATH && make all && cd source && screen -S BeagleRT -d -m ../BeagleRT $COMMAND_ARGS" |
121 else | 121 else |
122 ssh -t $BBB_ADDRESS "make all -C $BBB_PATH && screen -S BeagleRT $BBB_PATH/BeagleRT $COMMAND_ARGS" | 122 ssh -t $BBB_ADDRESS "cd $BBB_PATH && make all && cd source && screen -S BeagleRT ../BeagleRT $COMMAND_ARGS" |
123 fi | 123 fi |
124 fi | 124 fi |