[Bug 570243] [NEW] initramfs-tools and casper should use shell syntax checking in check target

Evan Dandrea ev at ubuntu.com
Mon Apr 26 15:28:36 UTC 2010


Public bug reported:

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-shellscript" | cut -d':' -f1); do \
                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.

** Affects: casper (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: casper (Ubuntu)
   Importance: Undecided
       Status: New

-- 
initramfs-tools and casper should use shell syntax checking in check target
https://bugs.launchpad.net/bugs/570243
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list