Commit b7d8aa42 authored by Michael Pyne's avatar Michael Pyne

Correct the logic for old dir migrating.

parent 2f7166e6
......@@ -2235,7 +2235,7 @@ sub moveOldDirectories
# All this pretended move stuff is just to avoid tons of debug output
# if run in pretend mode while still showing the message the first time.
$pretendedMoves->{$oldDir} //= { };
if ($pretendedMoves->{$oldDir}->{$newDir} && -e $oldDir && ! -e $newDir) {
if (!$pretendedMoves->{$oldDir}->{$newDir} && -e $oldDir && ! -e $newDir) {
info "\tMoving old kdesrc-build directory at\n\t\tb[$oldDir] to\n\t\tb[$newDir]";
$pretendedMoves->{$oldDir}->{$newDir} = 1 if pretending;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment