[X2Go-Commits] [buildscripts] 12/12: bin/build-rpm-package: use more quoting when applying quilt patches.
git-admin at x2go.org
git-admin at x2go.org
Thu Apr 6 08:34:55 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 02e8f45ce05f40264882ccd3c8b121b8cde65257
Author: Mihai Moldovan <ionic at ionic.de>
Date: Thu Apr 6 08:33:54 2017 +0200
bin/build-rpm-package: use more quoting when applying quilt patches.
---
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 a2a1328..3d5a48c 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -705,7 +705,7 @@ build_packages() {
# apply patches from debian/patches/* so that they end up in the tarball
# ... esp. relevant for NX (redistributed)
if [ -f "${PROJECT}/debian/patches/series" ]; then
- ( cd "${PROJECT}" && QUILT_PATCHES=debian/patches quilt push -a && rm -Rf -- .pc/; )
+ ( cd "${PROJECT}" && QUILT_PATCHES="debian/patches" quilt push -a && rm -Rf -- ".pc/"; )
fi
grep -E "^Source[1-9]+:.*" "${PROJECT}.spec" | sed "s/%{name}/${PROJECT}/" | awk '{ print $2 }' | while read source_file; do
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list