[X2Go-Commits] [x2gobroker] 02/02: x2gobroker.spec: don't do a weird escape slash dance in sed's replace command.
git-admin at x2go.org
git-admin at x2go.org
Sun Jun 7 20:33:08 CEST 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository x2gobroker.
commit 1b803cbbea501a0124437a5ae91b7917fd7b28e9
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sun Jun 7 20:32:11 2015 +0200
x2gobroker.spec: don't do a weird escape slash dance in sed's replace command.
Simply use another separator.
---
debian/changelog | 2 ++
x2gobroker.spec | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 5fed19b..9e88c04 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -419,6 +419,8 @@ x2gobroker (0.0.3.0-0x2go1) UNRELEASED; urgency=low
+ Change all python-pampy references to python-pam on non-SUSE systems.
+ Fix %build scriptlet: add missing "done" in while; do; done shell script
part.
+ + Don't do a weird escape slash dance in sed's replace command. Simply use
+ another separator.
* debian/rules:
+ Try to call common-binary-indep from common-binary-arch.
diff --git a/x2gobroker.spec b/x2gobroker.spec
index c82f154..ce5bdc1 100644
--- a/x2gobroker.spec
+++ b/x2gobroker.spec
@@ -384,7 +384,7 @@ sed -i etc/broker/x2gobroker-sessionprofiles.conf \
%if 0%{?fedora} >= 22
grep -l -r -E '^#!/usr/bin/env python$' | while read file; do \
sed -i "$file" \
- -e 's/\/usr\/bin\/env python/\/usr\/bin\/env python2/'
+ -e 's#/usr/bin/env python#/usr/bin/env python2#'
done
%endif
sed -i logrotate/x2gobroker-authservice \
--
Alioth's /srv/git/code.x2go.org/x2gobroker.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git
More information about the x2go-commits
mailing list