changeset 426:4c2588930b0a prerelease

Makefile sets attributes of Bela_startup.sh file
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 16 Jun 2016 18:08:26 +0100
parents 99de323c13b3
children fd948111f8ea
files Makefile
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Jun 16 15:55:03 2016 +0100
+++ b/Makefile	Thu Jun 16 18:08:26 2016 +0100
@@ -272,7 +272,7 @@
 startup: Bela
 	@echo "Enabling Bela at startup..."
 	@$(STARTUP_COMMAND) > $(BELA_STARTUP_SCRIPT)
-
+	@chmod +x $(BELA_STARTUP_SCRIPT)
 stop: ## Stops any Bela program that is currently running
 stop:
 	@PID=`grep $(BELA_AUDIO_THREAD_NAME) /proc/xenomai/stat | cut -d " " -f 5 | sed s/\s//g`; if [ -z $$PID ]; then [ $(QUIET) = true ] || echo "No process to kill"; else [  $(QUIET) = true  ] || echo "Killing old Bela process $$PID"; kill -2 $$PID; fi; screen -X -S $(SCREEN_NAME) quit > /dev/null; exit 0;