Commit 307692f4 authored by Michael Pyne's avatar Michael Pyne

If the latest symlink didn't already exist, kdesvn-build wouldn't create it for you. Fixed.

svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=854185
parent e77a0a12
......@@ -1178,6 +1178,11 @@ sub get_log_dir
unlink("$logbase/latest") if -l "$logbase/latest";
symlink("$LOG_DATE-$BUILD_ID", "$logbase/latest");
}
elsif(not -e "$logbase/latest")
{
# Create symlink initially if we've never done it before.
symlink("$LOG_DATE-$BUILD_ID", "$logbase/latest");
}
return $logpath;
}
......
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