1
0
mirror of https://github.com/pattern-lab/patternlab-php.git synced 2025-01-17 22:29:12 +01:00

some simple fixes to get going on windows

This commit is contained in:
Dave Olsen 2013-10-15 21:38:57 -04:00
parent 4f496a1325
commit a36971e5ce
2 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ class Migrator {
$fileName = str_replace($sourcePath,"",$object->getPathname());
// check to see if it's a new directory
if ($object->isDir() && !is_dir($destinationPath.$fileName)) {
if ($object->isDir() && !is_dir($destinationPath.$fileName)) {
mkdir($destinationPath.$fileName);
} else if ($object->isFile()) {
copy($sourcePath.$fileName,$destinationPath.$fileName);

View File

@ -1,5 +1,5 @@
{
"sourcePath": "core/source/",
"destinationPath": "source/",
"sourcePath": "core/source",
"destinationPath": "source",
"checkType": "dirEmpty"
}