Mitigate newly added shellcheck issues
Issues not present when the original patch was created have now also been fixed. Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
This commit is contained in:
parent
826274c867
commit
0c899b2bc2
@ -41,7 +41,7 @@ function convert-manifest-params {
|
||||
for flag in "${FLAGS[@]}"; do
|
||||
params+="\n\"$flag\","
|
||||
done
|
||||
if [ -n "${params[*]}" ]; then
|
||||
if [ -n "$params" ]; then
|
||||
echo "${params::-1}" # drop trailing comma
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user