From 6df195a8c8d1052bc9998da221f0e42119e25b57 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 13 Dec 2024 11:12:27 -0400 Subject: [PATCH] chmod --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index cafc7ec..015ca29 100644 --- a/Makefile +++ b/Makefile @@ -155,6 +155,7 @@ spirilink-software: read -p "SpiriLink software source already exists. Reinstall? (Y/N): " reinstall; \ if [ "$$reinstall" = "Y" ] || [ "$$reinstall" = "y" ]; then \ cd ~/home/spiri/spirilink && git pull && \ + $(SUDO) chmod +x ./scripts/install_gs.sh; \ $(SUDO) ./scripts/install_gs.sh spir0; \ $(SUDO) bash -c 'echo "WFB_NICS=\"spir0\"" > /etc/default/wifibroadcast'; \ $(SUDO) cp $(CURDIR)/wifibroadcast.cfg /etc/; \ @@ -164,6 +165,7 @@ spirilink-software: else \ git clone https://git.spirirobotics.com/aepko/SpiriLink.git ~/home/spiri/spirilink && \ cd ~/home/spiri/spirilink && \ + $(SUDO) chmod +x ./scripts/install_gs.sh; \ $(SUDO) ./scripts/install_gs.sh spir0; \ $(SUDO) bash -c 'echo "WFB_NICS=\"spir0\"" > /etc/default/wifibroadcast'; \ $(SUDO) cp $(CURDIR)/wifibroadcast.cfg /etc/; \