File tree Expand file tree Collapse file tree 4 files changed +8469
-6397
lines changed Expand file tree Collapse file tree 4 files changed +8469
-6397
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ set -e
4+
35# https://sqlite.org/chronology.html
46# https://sqlite.org/download.html
57# https://www.sqlite.org/src/timeline?r=version-3.36.0
68# VERSION consists of 7 digits, like:3350000 for "3.35.5" or 3360000 for "3.36.0"
79
8- VERSION=3360000 # 3.36 .0
10+ VERSION=3370000 # 3.37 .0
911
1012mkdir -p tmp
1113pushd tmp
1214
1315wget https://sqlite.org/2021/sqlite-autoconf-$VERSION .tar.gz
1416
1517tar xvfz sqlite-autoconf-$VERSION .tar.gz
16- cd sqlite-autoconf-$VERSION
1718
18- cp sqlite3.c ../../c_src/
19- cp sqlite3.h ../../c_src/
20- cp sqlite3ext.h ../../c_src/
19+ cp sqlite-autoconf-$VERSION /sqlite3.c ../c_src/
20+ cp sqlite-autoconf-$VERSION /sqlite3.h ../c_src/
21+ cp sqlite-autoconf-$VERSION /sqlite3ext.h ../c_src/
22+
23+ rm -rf sqlite-autoconf-*
2124
22- rm -rf tmp/ *
25+ popd
2326
2427echo " UPDATED SQLITE C CODE TO $VERSION !"
You can’t perform that action at this time.
0 commit comments