From 0dc9ace16882ff22ba540d38f1eceaa6662838c1 Mon Sep 17 00:00:00 2001 From: wapmorgan Date: Tue, 26 May 2015 04:55:20 +0300 Subject: [PATCH 1/2] Fix for incorrent errors about non-empty output directory --- src/wdm/debian/Packager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wdm/debian/Packager.php b/src/wdm/debian/Packager.php index f7482f5..634f597 100644 --- a/src/wdm/debian/Packager.php +++ b/src/wdm/debian/Packager.php @@ -108,7 +108,7 @@ class Packager if (file_exists($this->getOutputPath())) { $iterator = new \DirectoryIterator($this->getOutputPath()); foreach ($iterator as $path) { - if ($path != '.' || $path != '..') { + if ($path != '.' && $path != '..') { echo "OUTPUT DIRECTORY MUST BE EMPTY! Something exists, exit immediately!" . PHP_EOL; exit(); } From e03d099610b009d423f55e9195a780235cc57ef0 Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Tue, 26 May 2015 08:37:01 +0200 Subject: [PATCH 2/2] Bumped version 0.0.12 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 2cfabea..8cbf02c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.11 +0.0.12