fix chmod-bug (#4)
This commit is contained in:
parent
01eb5874b6
commit
ccaa08a416
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ while IFS= read -r feature_line; do
|
||||||
echo "(*) Skipping. Script already run with same arguments."
|
echo "(*) Skipping. Script already run with same arguments."
|
||||||
else
|
else
|
||||||
# Execute script and create a marker with the script args
|
# 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}
|
./${script_command}
|
||||||
echo "${script_command}" > "${feature_marker}"
|
echo "${script_command}" > "${feature_marker}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue