Makefile: 'fakeroot id -u' is 0, better using $USER env variable
[iserv-mod-room-reservation.git] / Makefile
index a90f49a..9440ef6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -90,7 +90,7 @@ sourcedoc:
 \r
 # install everything\r
 install: sourcedoc links\r
 \r
 # install everything\r
 install: sourcedoc links\r
-ifeq ($(shell id -u),0)\r
+ifeq ($(shell echo $USER),root)\r
        chkdb -r\r
        chkpriv\r
        chklocale\r
        chkdb -r\r
        chkpriv\r
        chklocale\r
This page took 0.026822 seconds and 4 git commands to generate.