fix chmod-bug (#4)

This commit is contained in:
Samruddhi Khandale 2022-05-11 11:54:44 -07:00 committed by GitHub
parent 01eb5874b6
commit ccaa08a416
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,7 +48,8 @@ while IFS= read -r feature_line; do
echo "(*) Skipping. Script already run with same arguments."
else
# Execute script and create a marker with the script args
chmod +x ${script_command}
script_name="$(echo $script_command | cut -d' ' -f1)"
chmod +x ${script_name}
./${script_command}
echo "${script_command}" > "${feature_marker}"
fi