[Bug 1366986] Re: bashisms in update_firmware

Adam Conrad adconrad at 0c3.net
Mon Sep 8 21:30:17 UTC 2014


** Changed in: powerpc-ibm-utils (Ubuntu)
     Assignee: (unassigned) => Adam Conrad (adconrad)

** Changed in: powerpc-ibm-utils (Ubuntu)
       Status: New => In Progress

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

Title:
  bashisms in update_firmware

Status in “powerpc-ibm-utils” package in Ubuntu:
  In Progress

Bug description:
  The update_flash_nv script contains a number of bashisms.

  # update_flash --help
  /usr/sbin/update_flash_nv: 375: [: root: unexpected operator
  update_flash: Must be root to execute this command.
  #

  Correcting the == to = (in two places), the script then fails instead
  with:

  # update_flash -v -f 01TV810_061_054.img 
  /usr/sbin/update_flash_nv: 204: local: FW810.00: bad variable name
  #

  This one appears to be a matter of missing quoting.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powerpc-ibm-utils/+bug/1366986/+subscriptions



More information about the foundations-bugs mailing list