mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 18:38:07 +00:00
debian/update-udev-triggers.sh: handle some minor shellcheck warnings
This commit is contained in:
Vendored
+3
-2
@@ -14,9 +14,10 @@ while IFS= read -r line; do
|
|||||||
fi
|
fi
|
||||||
done < "$autosuspend_file"
|
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}"
|
out="${i%.in}"
|
||||||
perl -pe 's/\@UDEVADM_TRIGGERS\@/`printenv UDEVADM_TRIGGERS`/e' "$i" > "$out"
|
perl -pe 's/\@UDEVADM_TRIGGERS\@/`printenv UDEVADM_TRIGGERS`/e' "$i" > "$out"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user