Commit a1b3fbcb authored by Michael Pyne's avatar Michael Pyne
Browse files

Fix kdesvn-build, my last change didn't create the build directory for modules

using a faked build dir.

svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=434660
parent 83af301c
......@@ -2594,7 +2594,7 @@ sub safe_configure
$script = "$qtdir/configure.new";
print clr "\tb[r[GPL license selected for Qt]. See $fullpath/qt-copy/LICENSE.GPL\n";
print clr "\tb[r[GPL license selected for Qt]. See $fullpath/LICENSE.GPL\n";
}
print clr "\tRunning g[configure]...\n";
......@@ -2719,6 +2719,11 @@ sub prepare_fake_builddir
$args = [ 'cp', '-af', $srcdir, $builddir ];
}
if (not -e $builddir)
{
super_mkdir($builddir);
}
# Use a slightly less effective method of builddir != srcdir for the
# module, as it fails otherwise.
chdir($builddir);
......@@ -3010,6 +3015,7 @@ sub setup_build_system
# takes care of that test.
if (module_needs_builddir_help($module))
{
print clr "\tFaking builddir for g[$module]\n";
if (not prepare_fake_builddir($module))
{
print clr "Error creating r[$module] build system!\n";
......
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