From 502cd901162f0d8e8a808b9f779516e3dfb2d5f7 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 6 Dec 2013 14:48:46 +0100 Subject: fix test for quilt patch series file --- bin/build-rpm-package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/build-rpm-package b/bin/build-rpm-package index 2ed16d6..e5e583b 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -183,7 +183,7 @@ build_packages() { # apply patches from debian/patches/* so that they end up in the tarbal # ... esp. relevant for NX (redistributed) - if [ -d $PROJECT/debian/patches/series ]; then + if [ -f $PROJECT/debian/patches/series ]; then ( cd $PROJECT && QUILT_PATCHES=debian/patches quilt push -a && rm .pc/ -Rf; ) fi -- cgit v1.2.3