From a457981c973004ef1c33ed79a9dd91d26f191f3f Mon Sep 17 00:00:00 2001 From: cajus Date: Mon, 21 Jan 2008 17:10:31 +0000 Subject: [PATCH] Still broken git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8529 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/update-gosa | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index c8cb4aa6e..f9c51ee19 100755 --- a/gosa-core/update-gosa +++ b/gosa-core/update-gosa @@ -85,7 +85,7 @@ function rescan_classes() { echo "Updating class cache...\n"; $class_mapping= get_classes(); - $filename= "include/class_location.inc"; + $filename= GOSA_HOME."/include/class_location.inc"; /* Sanity checks */ if (!file_exists($filename) || is_writable($filename)) { @@ -282,8 +282,8 @@ function install_plugin($file) echo "Failed to create '".PLUGSTATE_DIR."/$name - aborted"; exit (3); } - if (!$handle= fopen(PLUGSTATE_DIR."/$name/plugin.lst, 'w')) { - echo "Cannot open file \"$filename\" - aborted\n"; + if (!$handle= fopen(PLUGSTATE_DIR."/$name/plugin.lst", 'w')) { + echo "Cannot open file '$filename' - aborted\n"; exit (1); } -- 2.30.2