From 315256694e1564200213b388170384cede255838 Mon Sep 17 00:00:00 2001 From: timerix Date: Fri, 9 Sep 2022 19:43:29 +0600 Subject: [PATCH] chmod scripts --- README.md | 1 + chmod_scripts.sh | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 chmod_scripts.sh diff --git a/README.md b/README.md index 0ce79f6..29305ab 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ All tasks should be launched through `Makefile`. Tasks can be configured in `.co cd some_project git clone http://github.com/Timerix22/cbuild.git cp cbuild/default.Makefile Makefile +bash cbuild/chmod_scripts.sh make ``` diff --git a/chmod_scripts.sh b/chmod_scripts.sh new file mode 100644 index 0000000..9317f0d --- /dev/null +++ b/chmod_scripts.sh @@ -0,0 +1,7 @@ +#!/bin/bash +SCRIPTS="$(find ./ -name '*.sh')" +for F in $SCRIPTS +do + echo $F + chmod +x $F +done