From 18526c95f0933172f4ab9623f8464d956b4668b8 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 12 Nov 2013 09:31:32 +0100 Subject: polkit: fix wrappers to properly escape arguments when calling the binary --- perl-install/standalone/polkit/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/polkit') diff --git a/perl-install/standalone/polkit/Makefile b/perl-install/standalone/polkit/Makefile index 3a1736983..070f4211e 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