aboutsummaryrefslogtreecommitdiffstats
path: root/polkit/Makefile
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2013-11-10 18:59:00 +0159
committerThomas Backlund <tmb@mageia.org>2013-11-10 18:59:00 +0159
commit1bbda63a9cc00daa2aee22a67e5754ad2f2c8dda (patch)
tree513e7d694d449ce3fef5d85a10ee7f569911b08b /polkit/Makefile
parentf2366f534d43d12a6c69b525dd9dc3b3ecdbe3da (diff)
downloadrpmdrake-1bbda63a9cc00daa2aee22a67e5754ad2f2c8dda.tar
rpmdrake-1bbda63a9cc00daa2aee22a67e5754ad2f2c8dda.tar.gz
rpmdrake-1bbda63a9cc00daa2aee22a67e5754ad2f2c8dda.tar.bz2
rpmdrake-1bbda63a9cc00daa2aee22a67e5754ad2f2c8dda.tar.xz
rpmdrake-1bbda63a9cc00daa2aee22a67e5754ad2f2c8dda.zip
use 500 instead of 500
Diffstat (limited to 'polkit/Makefile')
-rw-r--r--polkit/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/polkit/Makefile b/polkit/Makefile
index 2984e433..706cbd0d 100644
--- a/polkit/Makefile
+++ b/polkit/Makefile
@@ -13,7 +13,7 @@ clean:
rm -f $(WRAPPERS) $(POLICY)
%: org.mageia.%.policy.in
- @echo -e '#!/bin/sh\nif [[ "$(id -u)" != "0" ]] ; then\n exec $(BINDIR)/pkexec $(LIBEXECDIR)/$@ $$""*\nelse\n exec $(LIBEXECDIR)/$@ $$""*\nfi\n' > $@
+ @echo -e '#!/bin/sh\nif [[ "$UID" != "0" ]] ; then\n exec $(BINDIR)/pkexec $(LIBEXECDIR)/$@ $$""*\nelse\n exec $(LIBEXECDIR)/$@ $$""*\nfi\n' > $@
%.policy: %.policy.in
intltool-merge --utf8 ../po $< $@ -x -u -c ../po/.intltool-merge-cache