initramfs-tools and casper should use shell syntax checking in check target
Bug #570243 reported by
Evan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
initramfs-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: initramfs-tools
Ubiquity does the following in make check:
# Check the syntax of any shell scripts.
set -e; for x in $$(find -type f -print0 | xargs -0 file -i | grep "text/x-
sh -n $$x; \
done
As casper and initramfs-tools could stand to benefit from such a safeguard, they should make use of it as well.
Changed in casper (Ubuntu): | |
importance: | Undecided → Low |
Changed in casper (Ubuntu): | |
status: | New → Triaged |
Changed in casper (Ubuntu): | |
status: | Triaged → Fix Committed |
To post a comment you must log in.
we do so in initramfs-tools for boot and hook scripts. This is fixed since 0.97 and thus incorporated since Maverick in Ubuntu.