Make sure we chdir back in case update dir is relative, refs #7519
parent
a51563300c
commit
1898ad12ce
|
@ -70,6 +70,7 @@ class Comparer
|
||||||
if (!is_array($source)) {
|
if (!is_array($source)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
chdir($currentDirectory);
|
||||||
chdir($this->update);
|
chdir($this->update);
|
||||||
$destination = $this->doTree('.', $destination);
|
$destination = $this->doTree('.', $destination);
|
||||||
if (!is_array($destination)) {
|
if (!is_array($destination)) {
|
||||||
|
|
Loading…
Reference in New Issue