mirror of
https://github.com/DBD-SQLite/DBD-SQLite
synced 2025-06-07 22:28:47 -04:00
some of the amalgamatation tarballs go into sqlite-amalgamation-* directory instead of sqlite-*
This commit is contained in:
parent
d9887cd5b9
commit
df15f5138a
1 changed files with 2 additions and 2 deletions
|
@ -18,9 +18,9 @@ my $rv = getstore(
|
||||||
die "Failed to download" if $rv != 200;
|
die "Failed to download" if $rv != 200;
|
||||||
print("done\n");
|
print("done\n");
|
||||||
|
|
||||||
rm_rf('sqlite') || rm_rf("sqlite-$version");
|
rm_rf('sqlite') || rm_rf("sqlite-$version") || rm_rf("sqlite-amalgamation-$version");
|
||||||
xsystem("tar zxvf sqlite.tar.gz");
|
xsystem("tar zxvf sqlite.tar.gz");
|
||||||
chdir("sqlite") || chdir("sqlite-$version") || die "SQLite directory not found";
|
chdir("sqlite") || chdir("sqlite-$version") || chdir("sqlite-amalgamation-$version") || die "SQLite directory not found";
|
||||||
|
|
||||||
xsystem("cp sqlite3.c ../");
|
xsystem("cp sqlite3.c ../");
|
||||||
xsystem("cp sqlite3.h ../");
|
xsystem("cp sqlite3.h ../");
|
||||||
|
|
Loading…
Add table
Reference in a new issue