From ccaa08a416778453526e554c32b5e80b77797ba6 Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Wed, 11 May 2022 11:54:44 -0700 Subject: fix chmod-bug (#4) --- v1/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'v1/install.sh') 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 -- cgit v1.2.3