diff options
author | P. J. McDermott <pjm@nac.net> | 2012-11-12 18:33:03 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-11-12 18:33:03 (EST) |
commit | af2f5123a5f80afa593b3c77bf45f45b40b0544f (patch) | |
tree | 1378701a20cc9c4c7a65507866b578e50d4b02dc /build | |
parent | 1e97bdef471197af3454cefe612624b90624326f (diff) |
Remove useless leftover /usr/lib/lib directories.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -99,7 +99,8 @@ install: build find "binutils-$${target}.data/usr/lib" -name 'libiberty.a' \ -exec rm -f '{}' ';' && \ find "binutils-$${target}.data/usr/lib" -name '*.la' \ - -exec rm -f '{}' ';' || \ + -exec rm -f '{}' ';' && \ + rmdir "binutils-$${target}.data/usr/lib/lib" || \ exit 1; \ done # Make symbolic links to native utilities. |