summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/polkit/Makefile
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-11-12 09:31:32 +0100
committerColin Guthrie <colin@mageia.org>2013-11-12 09:31:32 +0100
commit18526c95f0933172f4ab9623f8464d956b4668b8 (patch)
tree9eec96951fd71e20363f153559f6187837f68a81 /perl-install/standalone/polkit/Makefile
parentab56a8451d6255b5892c2c7717c946b80e984f30 (diff)
downloaddrakx-18526c95f0933172f4ab9623f8464d956b4668b8.tar
drakx-18526c95f0933172f4ab9623f8464d956b4668b8.tar.gz
drakx-18526c95f0933172f4ab9623f8464d956b4668b8.tar.bz2
drakx-18526c95f0933172f4ab9623f8464d956b4668b8.tar.xz
drakx-18526c95f0933172f4ab9623f8464d956b4668b8.zip
polkit: fix wrappers to properly escape arguments when calling the binary
Diffstat (limited to 'perl-install/standalone/polkit/Makefile')
-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 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