Bug#317758: dpatch-edit-patch does not give out an error message when --debianonly flag is given a nonexisting file.
Hi, dpatch-edit-patch: * /tmp/f/debian/patches/07_configure_in_maintainer_mode.dpatch exists, this patch will be updated. dpatch-edit-patch: * debian/-only layout selected [17:19:22]ibookg4:/tmp/f echo $? 1 dpatch-edit-patch does not give an error message when --debianonly option is specified with a file that does not exist. Try this patch: Verified that this patch fixes the problem, as reflected in tests/log/10_dpep_debianonly.sh regards, junichi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317758: dpatch-edit-patch does not give out an error message when --debianonly flag is given a nonexisting file.
On Mon, Jul 11, 2005 at 05:20:52PM +0900, Junichi Uekawa wrote: dpatch-edit-patch: * /tmp/f/debian/patches/07_configure_in_maintainer_mode.dpatch exists, this patch will be updated. dpatch-edit-patch: * debian/-only layout selected [17:19:22]ibookg4:/tmp/f echo $? 1 dpatch-edit-patch does not give an error message when --debianonly option is specified with a file that does not exist. Try this patch: +++ /usr/bin/dpatch-edit-patch 2005-07-15 19:14:18.440807885 + @@ -171,7 +171,12 @@ exit 1 fi else - ORIGTARGZ=$(readlink -f $DPEP_ORIGTARGZ) + if [ -e $DPEP_ORIGTARGZ ]; then + ORIGTARGZ=$(readlink -f $DPEP_ORIGTARGZ) + else + dpep_message error $DPEP_ORIGTARGZ, given on command line, does not exist + exit 1 + fi fi cd $REFPDIR dpep_message norm * unpacking $ORIGTARGZ -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things.Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#317758: dpatch-edit-patch does not give out an error message when --debianonly flag is given a nonexisting file.
Package: dpatch Version: 2.0.13.0 $ dpatch-edit-patch --debianonly=../ecasound2.2_2.3.4.orig.tar.gz- 07_configure_in_maintainer_mode dpatch-edit-patch: * /tmp/f/debian/patches/07_configure_in_maintainer_mode.dpatch exists, this patch will be updated. dpatch-edit-patch: * debian/-only layout selected [17:19:22]ibookg4:/tmp/f echo $? 1 dpatch-edit-patch does not give an error message when --debianonly option is specified with a file that does not exist. regards, junichi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]