7 lines
268 B
Bash
Executable File
7 lines
268 B
Bash
Executable File
#!/bin/bash
|
|
while read i ; do
|
|
[ -n "$(ldd -r "$i" | grep 'libstdc++')" ] && qfile "$i" >> rebuild.packages
|
|
done < <(find $(echo $PATH | tr ':' ' ') -type f -executable)
|
|
cut -d ' ' -f1 rebuild.packages | sort -u -o rebuild.packages
|
|
emerge -1av $(cat rebuild.packages)
|