directive files: Fix version

Thanks to Adrien Bourmault for finding out why the uploads weren't
working.

Reported-by: Adrien Bourmault <neox@a-lec.org>
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-08-06 20:31:28 +02:00
parent e59390cadd
commit 6347990ae1
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 2 additions and 2 deletions

View File

@ -49,10 +49,10 @@ all: \
$(DESTDIR)/acpica-unix2-20211217.tar.gz \ $(DESTDIR)/acpica-unix2-20211217.tar.gz \
$(DESTDIR)/acpica-unix2-20220331.tar.gz \ $(DESTDIR)/acpica-unix2-20220331.tar.gz \
# The versin is the version of the upload protocol
%.directive: % %.directive: %
@echo -n "" > $@ @echo -n "" > $@
@echo "version: $(basename \ @echo "version: 1.2" >> $@
$(basename $(subst $(DESTDIR)/acpica-unix2-,,$^)))" >> $@
@echo "filename: $(subst $(DESTDIR)/,,$^)" >> $@ @echo "filename: $(subst $(DESTDIR)/,,$^)" >> $@
@echo "directory: gnuboot/mirrors/acpica.org" >> $@ @echo "directory: gnuboot/mirrors/acpica.org" >> $@