Filter out /lib, /usr/lib32, and fold the /usr/lib* checks into one expression
This commit is contained in:
parent
caedb5eb29
commit
b7c1742fa8
@ -52,6 +52,6 @@ done
|
||||
sed -e 's,^,OLD_FILES+=,' \
|
||||
-e '/lib\/.*\.so\.[0-9]\.*/s/OLD_FILES+=/OLD_LIBS+=/g';
|
||||
find -d -s . -type d -mindepth 1 -and \! -empty | \
|
||||
egrep -v '^\./(boot|s*bin|libexec|usr|usr/include|usr/lib(data)?|usr/libdata/pkgconfig|usr/lib/private|usr/libexec|usr/s*bin|usr/share|usr/share/(examples|man)|usr/share/man/man[0-9])$' | \
|
||||
egrep -v '^\./(boot|s*bin|lib|libexec|usr|usr/include|usr/lib(32|data|exec)?|usr/libdata/pkgconfig|usr/lib/private|usr/s*bin|usr/share|usr/share/(examples|man)|usr/share/man/man[0-9])$' | \
|
||||
sed -e 's,^,OLD_DIRS+=,'
|
||||
) | sed -e 's,+=\./,+=,'
|
||||
|
Loading…
Reference in New Issue
Block a user