From 7d3f9c4babefb7dcfe1229324fc6390bddcb2d55 Mon Sep 17 00:00:00 2001 From: Viktor Lofgren Date: Sat, 4 Mar 2023 14:52:44 +0100 Subject: [PATCH] WIP run and setup --- run/reconvert.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run/reconvert.sh b/run/reconvert.sh index c15f5d09..595f9a28 100755 --- a/run/reconvert.sh +++ b/run/reconvert.sh @@ -42,7 +42,7 @@ pushd $(dirname $0) if [ ! -d ${SAMPLE_DIR} ]; then mkdir -p samples/ - SAMPLE_TARBALL=samples/crawl-${SAMPLE_NAME}.tar.gz + SAMPLE_TARBALL=samples/${SAMPLE_NAME}.tar.gz download_model ${SAMPLE_TARBALL} https://downloads.marginalia.nu/${SAMPLE_TARBALL} || rm ${SAMPLE_TARBALL} if [ ! -f ${SAMPLE_TARBALL} ]; then @@ -50,7 +50,7 @@ if [ ! -d ${SAMPLE_DIR} ]; then exit 255 fi - mkdir -p samples/crawl-${SAMPLE_NAME} + mkdir -p samples/${SAMPLE_NAME} if [ ! -f $SAMPLE_DIR/plan.yaml ]; then echo "Uncompressing" tar zxf ${SAMPLE_TARBALL} --strip-components=1 -C ${SAMPLE_DIR}