]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
add cleanup-la to repo
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Jun 2017 18:33:03 +0000 (21:33 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Jun 2017 18:33:03 +0000 (21:33 +0300)
forgotten from a6742819

cleanup-la [new file with mode: 0755]

diff --git a/cleanup-la b/cleanup-la
new file mode 100755 (executable)
index 0000000..d538cfe
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+root=$1
+find $root/usr/lib{,64} -name "*.la" -print0 | xargs -0 grep -El "dependency_libs='.+'"
+
+# it's important this script does not fail if no matches found
+exit 0
This page took 0.070109 seconds and 4 git commands to generate.