From f3b710e164b11a2b68e9dfef53726a7423ddd951 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 10 Nov 2012 10:38:19 -0500 Subject: Fix repeat installations of libbfd-dev-* files. --- (limited to 'build') diff --git a/build b/build index 0c92044..f5f51c2 100755 --- a/build +++ b/build @@ -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" && \ -- cgit v0.9.1