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 +0000
@@ -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]