From: Wolfram Schneider Date: Tue, 6 Apr 2010 15:48:26 +0000 (+0000) Subject: use a dump dir for old dumps X-Git-Tag: CPAN-v1.02~54^2~93^2~35 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=d3f8cf960c05f30ad12516a0709319c6ec45edd7;p=irspy-moved-to-github.git use a dump dir for old dumps --- diff --git a/zebra/Makefile b/zebra/Makefile index 2b1aef5..f5cc0fe 100644 --- a/zebra/Makefile +++ b/zebra/Makefile @@ -1,6 +1,7 @@ -IRSPY_ARCHIVE= records-2007-05-01 +IRSPY_ARCHIVE= records-2010-04-06 IRSPY_ARCHIVE_EXT= .tar.gz +DUMP_DIR= irspy-dump DATE:= $(shell date '+%Y-%m-%d') @@ -14,7 +15,7 @@ terse.properties: pqf.properties sed -n 's/#.*//; s/[ ]*//; s/[ ][ ]*/ /g; /./p' $? > $@ newdb: - tar xzf ${IRSPY_ARCHIVE} + tar xzf ${DUMP_DIR}/${IRSPY_ARCHIVE}${IRSPY_ARCHIVE_EXT} zebraidx-2.0 init zebraidx-2.0 update zeerex.xml zebraidx-2.0 update ${IRSPY_ARCHIVE}