update buildsystem

This commit is contained in:
Marc Wäckerlin
2016-09-29 16:37:10 +00:00
parent e411f4a63b
commit 9aa69d2a40
17 changed files with 950 additions and 126 deletions

View File

@@ -16,7 +16,7 @@ if test -n "${SCHROOTNAME}"; then
SUDO="schroot -c "${SCHROOTNAME}" -u root -d / --"
else
DO=""
if grep -q '/docker/' /proc/1/cgroup; then
if grep -q '/docker' /proc/1/cgroup; then
SUDO=""
else
SUDO="sudo"