summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9669c4c5c..a6c79c9a9 100644
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ ifeq (alpha,$(ARCH))
cp -f vmlinux.gz $(ROOTDEST)/boot/instboot.gz
make -C tools/$(ARCH)/cd install ROOTDEST=$(ROOTDEST)
endif
- cd $(ROOTDEST)/images; mkdir -p alternatives ; mv *.img-* alternatives
+ cd $(ROOTDEST)/images; rm -rf alternatives ; mkdir alternatives ; mv *.img-* alternatives
cd $(ROOTDEST)/images; md5sum *.img* > MD5SUM
cd $(ROOTDEST)/images/alternatives; md5sum *.img* > MD5SUM