edit-patch.sh looks for edit-patch which make it fail to run a subshell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devscripts (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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/
head: cannot open `debian/
sed: can't read debian/
This happen because at the line ~193:
if [ "$(basename $0)" = "edit-patch" ]; then
elif [ "$(basename $0)" = "add-patch" ]; then
Compares against "edit-patch" instead of "edit-patch.sh"
This is already fixed in the Debian git repository.