aboutsummaryrefslogtreecommitdiff
path: root/v1/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'v1/install.sh')
-rwxr-xr-xv1/install.sh3
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