From 5332dc6aaffdc921d7494cfcae1435f43fca1678 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Mon, 7 Aug 2017 19:14:47 +0000 Subject: Avoid some unnecessary shells from qx Signed-off-by: Niels Thykier --- dh_installgsettings | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dh_installgsettings') diff --git a/dh_installgsettings b/dh_installgsettings index db0d1032..faedcb7c 100755 --- a/dh_installgsettings +++ b/dh_installgsettings @@ -78,7 +78,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if (-d "$gsettings_schemas_dir") { # Get a list of the schemas - my $schemas = `find $gsettings_schemas_dir -type f \\( -name \\*.xml -o -name \\*.override \\) -printf '%P '`; + my $schemas = qx_cmd('find', $gsettings_schemas_dir, '-type', 'f', + '(', '-name', '*.xml', '-o', '-name', '*.override', + ')', '-printf', '%P'); if ($schemas ne '') { addsubstvar($package, "misc:Depends", "dconf-gsettings-backend | gsettings-backend"); } -- cgit v1.2.3