File tree 1 file changed +11
-6
lines changed
1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 6
6
# https://sqlite.org/download.html
7
7
# https://www.sqlite.org/src/timeline?r=version-3.36.0
8
8
# VERSION consists of 7 digits, like:3350000 for "3.35.5" or 3360000 for "3.36.0"
9
+ #
10
+ # Execute with:
11
+ #
12
+ # bin/download_sqlite.sh 3460100
13
+ #
9
14
10
15
mkdir -p tmp
11
16
pushd tmp
12
17
13
- wget https://sqlite.org/2024/sqlite-autoconf-$VERSION .tar.gz
18
+ wget https://sqlite.org/2024/sqlite-autoconf-$1 .tar.gz
14
19
15
- tar xvfz sqlite-autoconf-$VERSION .tar.gz
20
+ tar xvfz sqlite-autoconf-$1 .tar.gz
16
21
17
- cp sqlite-autoconf-$VERSION /sqlite3.c ../c_src/
18
- cp sqlite-autoconf-$VERSION /sqlite3.h ../c_src/
19
- cp sqlite-autoconf-$VERSION /sqlite3ext.h ../c_src/
22
+ cp sqlite-autoconf-$1 /sqlite3.c ../c_src/
23
+ cp sqlite-autoconf-$1 /sqlite3.h ../c_src/
24
+ cp sqlite-autoconf-$1 /sqlite3ext.h ../c_src/
20
25
21
26
rm -rf sqlite-autoconf-*
22
27
23
28
popd
24
29
25
- echo " UPDATED SQLITE C CODE TO $VERSION !"
30
+ echo " UPDATED SQLITE C CODE TO $1 !"
You can’t perform that action at this time.
0 commit comments