summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/polkit
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2013-11-10 19:00:57 +0159
committerThomas Backlund <tmb@mageia.org>2013-11-10 19:00:57 +0159
commitd7d5ba42ce1e234de688ae6648145e71f821c92e (patch)
treef520903c1de1ba77b95d0fdd1ac04188ddc0a8bd /perl-install/standalone/polkit
parent04857d3dc1375cc560292d30ab8db994dc143470 (diff)
downloaddrakx-d7d5ba42ce1e234de688ae6648145e71f821c92e.tar
drakx-d7d5ba42ce1e234de688ae6648145e71f821c92e.tar.gz
drakx-d7d5ba42ce1e234de688ae6648145e71f821c92e.tar.bz2
drakx-d7d5ba42ce1e234de688ae6648145e71f821c92e.tar.xz
drakx-d7d5ba42ce1e234de688ae6648145e71f821c92e.zip
use 500 instead of 500
Diffstat (limited to 'perl-install/standalone/polkit')
-rw-r--r--perl-install/standalone/polkit/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/polkit/Makefile b/perl-install/standalone/polkit/Makefile
index c39f4ae71..cadd056aa 100644
--- a/perl-install/standalone/polkit/Makefile
+++ b/perl-install/standalone/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