chmod scripts

This commit is contained in:
timerix 2022-09-09 19:43:29 +06:00
parent e2f47a9dd2
commit 315256694e
2 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,7 @@ All tasks should be launched through `Makefile`. Tasks can be configured in `.co
cd some_project cd some_project
git clone http://github.com/Timerix22/cbuild.git git clone http://github.com/Timerix22/cbuild.git
cp cbuild/default.Makefile Makefile cp cbuild/default.Makefile Makefile
bash cbuild/chmod_scripts.sh
make make
``` ```

7
chmod_scripts.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash
SCRIPTS="$(find ./ -name '*.sh')"
for F in $SCRIPTS
do
echo $F
chmod +x $F
done