GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — sqlite/tool/mkamalzip.tcl at master · mackyle/sqlite Expand file tree/ Copy pathmkamalzip.tclMore file actions 23 lines (23 loc) · 625 Bytes / Copy pathmkamalzip.tclFile metadata and controls23 lines (23 loc) · 625 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #!/usr/bin/tclsh # # Build a ZIP archive for the amalgamation source code found in the current # directory. # set VERSION-file [file dirname [file dirname [file normalize $argv0]]]/VERSION set fd [open ${VERSION-file} rb] set vers [read $fd] close $fd scan $vers %d.%d.%d major minor patch set numvers [format {3%02d%02d00} $minor $patch] set dir sqlite-amalgamation-$numvers file delete -force $dir file mkdir $dir set filelist {sqlite3.c sqlite3.h shell.c sqlite3ext.h} foreach f $filelist { file copy $f $dir/$f } set cmd "zip -r $dir.zip $dir" puts $cmd file delete -force $dir.zip exec {*}$cmd file delete -force $dir |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |