Skip to content

Commit fea73df

Browse files
committed
Download the correct SQLiteMC source archive
1 parent da07de6 commit fea73df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ CCFLAGS:= -I$(SQLITE_OUT) -I$(SQLITE_INCLUDE) $(CCFLAGS)
2828

2929
$(SQLITE_ARCHIVE):
3030
echo "Downloading Archive"
31-
curl -s https://api.github.com/repos/utelle/SQLite3MultipleCiphers/releases/latest | jq -r ".assets[] | select(.name | contains(\"amalgamation\")) | .browser_download_url" | wget -O $@ -i -
31+
curl -s https://api.github.com/repos/utelle/SQLite3MultipleCiphers/releases | jq -r ".[].assets[] | select(.name | contains(\"$(version)-amalgamation\")) | .created_at |= fromdateiso8601 | .browser_download_url" | head -1 | wget -O $@ -i -
3232
#if [ ! -d "$(TARGET)/$(version)" ] ; then git clone https://github.com/utelle/SQLite3MultipleCiphers.git $(TARGET)/$(version); cd $(TARGET)/$(version); fi
3333
@mkdir -p $(@D)
3434

0 commit comments

Comments
 (0)