Allow building 0ad as root/fakeroot
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 18 Aug 2020 09:48:00 +0000 (10:48 +0100)
committerVincent Cheng <vcheng@debian.org>
Tue, 18 Aug 2020 09:48:00 +0000 (10:48 +0100)
Forwarded: not-needed
Last-Update: 2014-10-13

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

build/workspaces/update-workspaces.sh

index e7764b4a5c29968f599493ba4a2e5be06157de69..b58987d11b5d835496d2db82f83ece7f7ad52e46 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: $*