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
|
for flag in "${FLAGS[@]}"; do
|
||||||
params+="\n\"$flag\","
|
params+="\n\"$flag\","
|
||||||
done
|
done
|
||||||
if [ -n "${params[*]}" ]; then
|
if [ -n "$params" ]; then
|
||||||
echo "${params::-1}" # drop trailing comma
|
echo "${params::-1}" # drop trailing comma
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user