com web/rmtools: Fix var name: script/snap.php
| From: | Anatol Belski | Date: | Wed, 20 Sep 2017 15:53:06 +0000 |
| Subject: | com web/rmtools: Fix var name: script/snap.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-26422@lists.php.net to get a copy of this message | ||
Commit: 78297905d0b9b2de0a53358bd173fa54e161366b
Author: Anatol Belski <ab@php.net> Wed, 20 Sep 2017 17:53:06 +0200
Parents: dcf582032671c3333828fb24e54bcdf977cfecfa
Branches: master
Link: http://git.php.net/?p=web/rmtools.git;a=commitdiff;h=78297905d0b9b2de0a53358bd173fa54e161366b
Log:
Fix var name
Changed paths:
M script/snap.php
Diff:
diff --git a/script/snap.php b/script/snap.php
index 2f0db45..7b1927b 100644
--- a/script/snap.php
+++ b/script/snap.php
@@ -218,7 +218,7 @@ if ($branch->hasNewRevision() ||
!$branch->isLastRevisionExported($branch->getLa
$src_dir = $branch_name . '/r' . $last_rev;
rm\upload_build_result_ftp_curl($toupload_dir, $src_dir);
/* FIXME This is still not safe, locking needed! */
- foreach (["$to_upload_dir/logs", $to_upload_dir] as $path) {
+ foreach (["$toupload_dir/logs", $toupload_dir] as $path) {
$items = scandir($path);
foreach ($items as $item) {
$full = $path . "/" . $item;