Allow building 0ad as root/fakeroot
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 2 Oct 2022 16:14:33 +0000 (17:14 +0100)
committerLudovic Rousseau <rousseau@debian.org>
Sun, 2 Oct 2022 16:14:33 +0000 (17:14 +0100)
Forwarded: not-needed
Last-Update: 2014-10-13

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

build/workspaces/update-workspaces.sh

index 0067ad21283236b29b7d5cecffa333820016de77..04896598f29cfbb561f4730cb0ae9174dc46d536 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: $*