From: martin f. krafft Date: Fri, 6 Nov 2009 10:14:21 +0000 (+0100) Subject: do not fail if no quilt patches to pop X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=topgit.git;a=commitdiff_plain;h=4aad899bc50632f18922a205822aaa24b1db7b46;hp=86d0708a06440824ccf0a73afa1828ff6ee89d46 do not fail if no quilt patches to pop Signed-off-by: martin f. krafft --- diff --git a/debian/tg2quilt.mk b/debian/tg2quilt.mk index f4ca0db..f83caa6 100644 --- a/debian/tg2quilt.mk +++ b/debian/tg2quilt.mk @@ -122,7 +122,7 @@ else tg-rmdir: __TG_FILES := $(shell find $(QUILT_PATCH_DIR) -type f -a -not -path \*/series \ | xargs grep -l '^tg:') tg-rmdir: - QUILT_PATCHES=$(QUILT_PATCH_DIR) quilt pop -a + QUILT_PATCHES=$(QUILT_PATCH_DIR) quilt pop -a 2>/dev/null || : @if quilt applied >/dev/null 2>&1; then \ echo "E: there are applied quilt patches." >&2; \ echo "E: please unapply (pop) all patches and try again." >&2; \