From 6bfe81fdc32dc1933d4077111a484813197529cc Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 9 Sep 2019 08:27:32 +0900 Subject: [PATCH] Fixed test script --- db/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/build.sh b/db/build.sh index bf255ddd..86f8baf9 100755 --- a/db/build.sh +++ b/db/build.sh @@ -2,10 +2,10 @@ TYPES=`curl -sS 'https://notify.moe/api/types' | jq '.[]' | cut -d '"' -f 2` SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" cd "$SCRIPTPATH" -mkdir -p arn2 +mkdir -p arn for TYPENAME in $TYPES; do echo "Downloading db/arn/$TYPENAME.dat" URL=https://notify.moe/api/types/$TYPENAME/download - curl -sS $URL -o arn2/$TYPENAME.dat + curl -sS $URL -o arn/$TYPENAME.dat done