[DRE-commits] [pkg-ruby-extras] 03/05: setup: remove hardcoded amd64 in schroot --list check
zeha at debian.org
zeha at debian.org
Tue Jun 27 12:47:15 UTC 2017
This is an automated email from the git hooks/post-receive script.
zeha pushed a commit to branch master
in repository pkg-ruby-extras.
commit 782ce2044067bfe8570540e2a926159fe218c148
Author: Christian Hofstaedtler <zeha at debian.org>
Date: Tue Jun 27 12:42:28 2017 +0000
setup: remove hardcoded amd64 in schroot --list check
Thanks to Johannes Schauer <josch at debian.org>.
---
setup | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup b/setup
index a969ccd..cf11072 100755
--- a/setup
+++ b/setup
@@ -21,7 +21,7 @@ sudo sbuild-adduser $USER
chrootname=unstable-$(dpkg --print-architecture)-sbuild
chroot=/srv/chroot/$chrootname
-if schroot --list --all-source-chroots | grep unstable-amd64-sbuild; then
+if schroot --list --all-source-chroots | grep 'source:'$chrootname; then
:
else
sudo sbuild-createchroot unstable $chroot http://deb.debian.org/debian
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/pkg-ruby-extras.git
More information about the Pkg-ruby-extras-commits
mailing list