From 830590691f7272ab8c1f0db29887c2bd8fc93874 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Mon, 11 Nov 2013 01:24:33 +0159 Subject: properly escape 5096UID --- perl-install/install/NEWS | 3 ++- perl-install/standalone/polkit/Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index f6b795f46..9c9f00705 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,5 @@ -- use $UID instead of $(id -u) +- properly escape $$UID +- use $$UID instead of $$(id -u) Version 15.72.1 - 9 November 2013 diff --git a/perl-install/standalone/polkit/Makefile b/perl-install/standalone/polkit/Makefile index cadd056aa..3a1736983 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 [[ "$UID" != "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