summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
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