[Bug 953857] Re: edit-patch.sh looks for edit-patch which make it fail to run a subshell

Launchpad Bug Tracker 953857 at bugs.launchpad.net
Sat Mar 24 21:31:23 UTC 2012


** Branch linked: lp:debian/devscripts

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

Title:
  edit-patch.sh looks for edit-patch which make it fail to run a
  subshell

Status in “devscripts” package in Ubuntu:
  Fix Committed

Bug description:
  Release of Ubuntu: precise
  Package Version: 2.11.4ubuntu1
  Expected Results: edit-patch should run a subshell to introduce changes
  Actual Results: edit-patch fail with the following message:

  $ edit-patch.sh  99-new-fix
  Normalizing patch path to  99-new-fix
  Normalizing patch name to 99-new-fix.patch
  grep: debian/patches/99-new-fix.patch: No such file or directory
  head: cannot open `debian/patches/99-new-fix.patch' for reading: No such file or directory
  sed: can't read debian/patches/99-new-fix.patch: No such file or directory

  This happen because at the line ~193:

      if [ "$(basename $0)" = "edit-patch" ]; then
          edit_patch_$PATCHSYSTEM $PATCHNAME
      elif [ "$(basename $0)" = "add-patch" ]; then
          add_patch_$PATCHSYSTEM $1 $PATCHNAME

  Compares against "edit-patch" instead of "edit-patch.sh"

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




More information about the foundations-bugs mailing list