Allow building 0ad as root/fakeroot
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 9 Jan 2019 09:33:09 +0000 (09:33 +0000)
committerLudovic Rousseau <rousseau@debian.org>
Wed, 9 Jan 2019 09:33:09 +0000 (09:33 +0000)
Forwarded: no
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: $*