summaryrefslogtreecommitdiff
path: root/games/0ad/files/patch-build_workspaces_update-workspaces.sh
diff options
context:
space:
mode:
Diffstat (limited to 'games/0ad/files/patch-build_workspaces_update-workspaces.sh')
-rw-r--r--games/0ad/files/patch-build_workspaces_update-workspaces.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/0ad/files/patch-build_workspaces_update-workspaces.sh b/games/0ad/files/patch-build_workspaces_update-workspaces.sh
new file mode 100644
index 000000000000..311f65a0c84f
--- /dev/null
+++ b/games/0ad/files/patch-build_workspaces_update-workspaces.sh
@@ -0,0 +1,13 @@
+--- build/workspaces/update-workspaces.sh.orig 2014-09-20 19:02:24 UTC
++++ build/workspaces/update-workspaces.sh
+@@ -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: $*