Fix shellcheck warning

$@ is only supposed to be used as "$@", for all uses within strings, $*
is the correct variable.
This commit is contained in:
Clemens Lang
2018-03-10 18:08:20 +01:00
parent f64c0dacaf
commit a995cfe9cb
+1 -1
View File
@@ -38,7 +38,7 @@ install-port() {
# $option_prefix and $thisdir are set in mpbb
# shellcheck disable=SC2154
if [[ -f $("${option_prefix}/bin/port-tclsh" "${thisdir}/tools/archive-path.tcl" "$@") ]]; then
echo "$@ already installed, nothing to do"
echo "$* already installed, nothing to do"
# log: summary for the portwatcher
echo "Building '$port' ... [OK]" >> "$log_subports_progress"
echo "$@" >> "${option_work_dir}/all_ports"