File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,9 @@ set_SUDO_if_necessary()
6
6
else
7
7
SUDO_COMMAND=" sudo env LD_LIBRARY_PATH=${LD_LIBRARY_PATH} "
8
8
fi
9
- printf " $this_script : $package_to_build installation path is ${install_path} "
10
- printf " Checking whether the $package_to_build installation path exists... "
9
+ # shellcheck disable=SC2154
10
+ printf " %s: %s installation path is %s" " $this_script " " $package_to_build " " ${install_path} "
11
+ printf " Checking whether the %s installation path exists... " " $package_to_build "
11
12
if [[ -d " ${install_path} " ]]; then
12
13
printf " yes\n"
13
14
printf " Checking whether I have write permissions to the installation path... "
@@ -20,11 +21,11 @@ set_SUDO_if_necessary()
20
21
else
21
22
printf " no\n"
22
23
printf " Checking whether I can create the installation path... "
23
- if mkdir -p ${install_path} >& /dev/null; then
24
+ if mkdir -p " ${install_path} " >& /dev/null; then
24
25
printf " yes.\n"
25
26
else
26
27
printf " no.\n"
27
- SUDO=$SUDO_COMMAND
28
+ export SUDO=$SUDO_COMMAND
28
29
fi
29
30
fi
30
31
}
You can’t perform that action at this time.
0 commit comments