com web/rmtools: Don't process files multiple times: include/PeclExt.php
| From: | Anatol Belski | Date: | Tue, 05 Sep 2017 17:42:11 +0000 |
| Subject: | com web/rmtools: Don't process files multiple times: include/PeclExt.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26371@lists.php.net to get a copy of this message | ||
Commit: 27c93410fb49207c14da06959d7888bcc026cb56
Author: Anatol Belski <ab@php.net> Tue, 5 Sep 2017 19:42:11 +0200
Parents: 8cd83d2091d29b4b6b770f3cb916a05f213ef7af
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=27c93410fb49207c14da06959d7888bcc026cb56
Log:
Don't process files multiple times
Changed paths:
M include/PeclExt.php
Diff:
diff --git a/include/PeclExt.php b/include/PeclExt.php
index 2f5ffb8..66aa39d 100644
--- a/include/PeclExt.php
+++ b/include/PeclExt.php
@@ -872,6 +872,8 @@ if (!function_exists('rmtools\combinations')) {
$files_to_zip[] = $tgt_fl;
}
}
+
+ $files_to_zip = array_unique($files_to_zip);
nodoc:
/* pack */