* Add latest log dir support.

svn path=/trunk/kdenonbeta/kdecvs-build/; revision=320133
wilder
Michael Pyne 22 years ago
parent 8b08d17073
commit 6d28001591
  1. 6
      kdecvs-build

@ -235,6 +235,10 @@ sub log_command
return 1 if not super_mkdir ("$logdir");
}
# Add symlink to the directory. EVIL USE OF .. AHEAD!
unlink("$logdir/../latest") if -l "$logdir/../latest";
system('ln', '-s', "$logdir", "$logdir/../latest");
# Redirect stdout and stderr to the given file.
if (not get_option('global', 'debug'))
{
@ -1291,7 +1295,7 @@ sub setup_build_system
if ($module eq 'qt-copy' && get_option($module, 'use-qt-builddir-hack'))
{
if (log_command ('qt-copy', 'create-builddir', ['cp', '-a',
"$moduledir", "$builddir/qt-copy" ]))
"$kdecvs/$module", "$builddir/qt-copy" ]))
{
print "Error creating qt-copy build system!\n";
return 0;

Loading…
Cancel
Save