Allow building 0ad as root/fakeroot
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 13 Nov 2016 06:57:56 +0000 (06:57 +0000)
committerVincent Cheng <vcheng@debian.org>
Sun, 13 Nov 2016 06:57:56 +0000 (06:57 +0000)
Forwarded: no
Last-Update: 2014-10-13

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

build/workspaces/update-workspaces.sh

index ba55be2e96dcddb964d01b167a063e376c8d4964..cd276f688555ec2b4e25b4a30600c372cb11fbd6 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: $*