]> git.pld-linux.org Git - projects/cleanbuild.git/commitdiff
make cleanup-la actually do something
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Jun 2017 21:02:20 +0000 (00:02 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Wed, 14 Jun 2017 21:02:20 +0000 (00:02 +0300)
cleanup-la

index d538cfe48e3e825bb6802d35f74835348a811d6d..2db6fd579ac886505c135997a737e1c003508550 100755 (executable)
@@ -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@dependency_libs=.*@dependency_libs=' '@"
 
 # it's important this script does not fail if no matches found
 exit 0
This page took 0.181782 seconds and 4 git commands to generate.