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

Brian Murray brian at ubuntu.com
Thu Mar 15 19:54:29 UTC 2012


** Changed in: casper (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to casper in Ubuntu.
https://bugs.launchpad.net/bugs/570243

Title:
  initramfs-tools and casper should use shell syntax checking in check
  target

Status in “casper” package in Ubuntu:
  Triaged
Status in “initramfs-tools” package in Ubuntu:
  Fix Released

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-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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/570243/+subscriptions




More information about the foundations-bugs mailing list