From d7d5ba42ce1e234de688ae6648145e71f821c92e Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Sun, 10 Nov 2013 19:00:57 +0159 Subject: use 500 instead of 500 --- perl-install/standalone/polkit/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/polkit/Makefile') 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 -- cgit v1.2.1