Commit a9532500 authored by Daniele Tafani's avatar Daniele Tafani
Browse files

fixed management of multiple bmcs

parent 9569fef2
......@@ -300,7 +300,7 @@ $(DCDBDEPSPATH)/distfiles/%:
$(DCDBDEPSPATH)/%/.dirstamp: $(DCDBDEPSPATH)/.download-distfiles
$(eval F := $(shell echo "$@" | sed 's/\/.dirstamp//' | sed 's/.*\///'))
@echo "Extracting $(F)..."
@if [ "$(suffix $(shell ls $(DCDBDEPSPATH)/distfiles/$(F)*))" == ".gz" ]; then \
@if [ "$(suffix $(shell ls $(DCDBDEPSPATH)/distfiles/$(F)*))" = ".gz" ]; then \
cd $(DCDBDEPSPATH) && tar xzf distfiles/$(F).tar.gz; \
else \
cd $(DCDBDEPSPATH) && unzip distfiles/$(F).zip > /dev/null; \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment