Allow building 0ad as root/fakeroot
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 28 Mar 2022 11:29:22 +0000 (12:29 +0100)
committerSimon McVittie <smcv@debian.org>
Mon, 28 Mar 2022 11:29:22 +0000 (12:29 +0100)
Forwarded: not-needed
Last-Update: 2014-10-13

Gbp-Pq: Name allow-build-with-root.patch

build/workspaces/update-workspaces.sh

index e266660077255e35c410155d2fe0104b212d979e..ea9729c6dcc39ee8565f718852aac3d06b8d2b57 100755 (executable)
@@ -1,10 +1,5 @@
 #!/bin/sh
 
-if [ "$(id -u)" = "0" ]; then
-   echo "Running as root will mess up file permissions. Aborting ..." 1>&2
-   exit 1
-fi
-
 die()
 {
   echo ERROR: $*