diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-05-11 21:54:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 21:54:44 +0300 |
commit | ccaa08a416778453526e554c32b5e80b77797ba6 (patch) | |
tree | b56ba34b0a2fd8dd6484cbad0c7b4fcb1d847edd /v1/install.sh | |
parent | 01eb5874b6662d8be6ea1e4390093aef48c04802 (diff) |
fix chmod-bug (#4)
Diffstat (limited to 'v1/install.sh')
-rwxr-xr-x | v1/install.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/v1/install.sh b/v1/install.sh index 2bfc9b9..f8f23cd 100755 --- a/v1/install.sh +++ b/v1/install.sh @@ -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 |