[edit-patch] producing wrong file when creating patch name ending with dot
Bug #851812 reported by
Mahyuddin Susanto
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devscripts (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
[edit-patch] producing wrong file when creating patch name ending with dot, for example 02_fix_
to produce this errors:
$ pull-lp-source packages
$ cd packages-version
$ edit-patch 02_fix_
patches file produces 02_fix_FTBFS_GCC_4 not 02_fix_
affects: | ubuntu-dev-tools (Ubuntu) → devscripts (Ubuntu) |
To post a comment you must log in.
That's because the scripts attempts to normalize patch extension. Currently, everything is stripped off until the first period, inclusive.
normalize_ patch_extension () { ${PATCHNAME% .*}
...
PATCHNAME=
}
This is done to ensure that the correct extensions for quilt/dpatch/cdbs are appended.
Your issue is valid but I'm not quite sure what the solution would be.