diff options
author | P. J. McDermott <pjm@nac.net> | 2012-11-10 10:38:19 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2012-11-10 10:38:19 (EST) |
commit | f3b710e164b11a2b68e9dfef53726a7423ddd951 (patch) | |
tree | 6500fb99b54472320dd17243a05239c8d1b88188 /build | |
parent | 3d89b2a99248f98b9b0acdde393dcdca1ece0aa2 (diff) |
Fix repeat installations of libbfd-dev-* files.
Diffstat (limited to 'build')
-rwxr-xr-x | build | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -100,6 +100,10 @@ install: build mv "binutils-$${target}.data/usr/share" 'binutils-doc.data/usr' || \ exit 1; \ fi; \ + if [ -d "libbfd-dev-$${target}.data/usr" ]; then \ + rm -Rf "libbfd-dev-$${target}.data/usr" || \ + exit 1; \ + fi; \ mkdir -p "libbfd-dev-$${target}.data/usr/lib/$(OPK_HOST_ARCH)/$${target}" && \ mv "binutils-$${target}.data/usr/include" \ "libbfd-dev-$${target}.data/usr" && \ |