Commit: bc921ece7ecb620e6ddbfd4b0fde2b3c0a21e740 Author: Anatol Belski <[email protected]> Tue, 5 Sep 2017 20:19:06 +0200 Parents: 0166cdbf2bbd1be6d095d1f2a9532f30786756f2 Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=bc921ece7ecb620e6ddbfd4b0fde2b3c0a21e740 Log: Care about directories Changed paths: M include/PeclExt.php Diff: diff --git a/include/PeclExt.php b/include/PeclExt.php index 9d90285..d27950c 100644 --- a/include/PeclExt.php +++ b/include/PeclExt.php @@ -887,7 +887,7 @@ nodoc: /* XXX implement the packaging of original fs structure from package.xml */ $zip_file = TMP_DIR . DIRECTORY_SEPARATOR . $this->getPackageName() . '.zip'; foreach ($files_to_zip as $file_to_zip) { - $zip_cmd = $this->zip_cmd . ' -9 -D -j ' . $zip_file . ' ' . $file_to_zip; + $zip_cmd = $this->zip_cmd . ' -9 ' . $zip_file . ' ' . $file_to_zip; system($zip_cmd, $status); if ($status) { throw new \Exception("Couldn't zip files for '$zip_file'"); -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
