debian/update-udev-triggers.sh: handle some minor shellcheck warnings

This commit is contained in:
Marco Trevisan (Treviño)
2021-01-21 19:59:25 +01:00
parent ec469dd2e1
commit 0e23cc18d4
+3 -2
View File
@@ -14,9 +14,10 @@ while IFS= read -r line; do
fi
done < "$autosuspend_file"
export UDEVADM_TRIGGERS=$( IFS=$'\n'; echo -e "${commands_lines[*]}" )
UDEVADM_TRIGGERS=$( IFS=$'\n'; echo -e "${commands_lines[*]}" )
export UDEVADM_TRIGGERS
for i in $debpath/libfprint-*.post*.in; do
for i in "$debpath"/libfprint-*.post*.in; do
out="${i%.in}"
perl -pe 's/\@UDEVADM_TRIGGERS\@/`printenv UDEVADM_TRIGGERS`/e' "$i" > "$out"