From cdf72ecada8fcc5f2daba5245354dbdb296ecc3c Mon Sep 17 00:00:00 2001 From: Michael Pyne Date: Thu, 25 Aug 2005 00:29:52 +0000 Subject: [PATCH] Related to my last commit, make sure the admin directory exists before attempting to install as well. svn path=/trunk/KDE/kdesdk/scripts/kdesvn-build; revision=453035 --- kdesvn-build | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/kdesvn-build b/kdesvn-build index 52ac107..d98166a 100755 --- a/kdesvn-build +++ b/kdesvn-build @@ -3893,6 +3893,16 @@ sub handle_install # Just in case, I guess. update_module_environment ($module); + # The /admin directory is needed for install as well, make sure it's + # there. + if (not create_admin_dir($module)) + { + warning "Unable to find /admin directory for y[$module], it probably"; + warning "won't install."; + # But continue anyways, because in this case I'm just not sure that it + # won't work in the future. ;) + } + # safe_make() evilly uses the "install" parameter to use installation # mode instead of compile mode. This is so we can get the subdirectory # handling for free.