From 4265e3125eb5874d1c05a1b333f64542cca34336 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 21 Mar 2016 18:03:52 +0100 Subject: oracle-instantclient: 12.1.0.2.0 --- makelist | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 makelist (limited to 'makelist') diff --git a/makelist b/makelist new file mode 100755 index 0000000..de3393e --- /dev/null +++ b/makelist @@ -0,0 +1,28 @@ +#!/usr/bin/env php +open($archive); + echo "+ $archive (" . $zip->numFiles . ")\n"; + $txt = array(); + for ($i = 0; $i < $zip->numFiles; $i++) { + $name = $zip->getNameIndex($i); + $pos = strpos($name, '/')+1; + $txt[] = substr($name, $pos); + } + sort($txt); + file_put_contents( + $ver . '/' . basename($archive, "-$ver.zip"), + implode("\n", $txt) + ); +} +echo "Done\n"; + -- cgit