[X2Go-Commits] [x2gokdrive] 16/28: debian/rules: avoid xargs, use find's -exec feature.

git-admin at x2go.org git-admin at x2go.org
Sat Oct 26 23:00:32 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gokdrive.

commit 78ee07761774e59d31ac542de664b0b41758eb41
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Oct 24 23:23:21 2019 +0200

    debian/rules: avoid xargs, use find's -exec feature.
---
 debian/changelog | 1 +
 debian/rules     | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index e35a903..74a1c42 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -30,5 +30,6 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
     + Use printf instead of echo. Plain echo doesn't even substitute escape
       sequences for their plain char counterparts and the -e switch is
       non-portable.
+    + Avoid xargs, use find's -exec feature.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Tue, 04 Jun 2019 14:10:43 +0200
diff --git a/debian/rules b/debian/rules
index f47e1c1..48c9e08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,8 +56,7 @@ override_dh_auto_install:
 	dh_auto_install --builddirectory=BUILD/xorg-server/ --destdir=debian/tmp/
 
 	# oh, yuck.
-	find $(CURDIR)/debian/tmp/usr/lib/xorg -type f -name '*.la' | \
-	    xargs rm -f
+	find $(CURDIR)/debian/tmp/usr/lib/xorg -type f -name '*.la' -exec rm -f '{}' ';'
 
 override_dh_auto_clean:
 	-dh_auto_clean

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git


More information about the x2go-commits mailing list