1
0
Fork 0
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:
Kenichi Ishigaki 2010-06-10 07:06:55 +00:00
parent d9887cd5b9
commit df15f5138a

View file

@ -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 ../");