[projects/cleanbuild] make cleanup-la actually do something

glen glen at pld-linux.org
Wed Jun 14 23:17:45 CEST 2017


commit 77afa233c229ddb4f858bbefcf374db6b274e2d9
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Jun 15 00:02:20 2017 +0300

    make cleanup-la actually do something

 cleanup-la | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cleanup-la b/cleanup-la
index d538cfe..2db6fd5 100755
--- a/cleanup-la
+++ b/cleanup-la
@@ -1,6 +1,6 @@
 #!/bin/sh
 root=$1
-find $root/usr/lib{,64} -name "*.la" -print0 | xargs -0 grep -El "dependency_libs='.+'"
+find $root/usr/lib{,64} -name "*.la" -print0 | xargs -0 -r sed -i -e "s at dependency_libs=.*@dependency_libs=' '@"
 
 # it's important this script does not fail if no matches found
 exit 0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/54efabebc4bbdf9860efb25ecfffd69233acdb17



More information about the pld-cvs-commit mailing list