summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 31c26ad)
raw | patch | inline | side by side (parent: 31c26ad)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 Jan 2008 17:10:31 +0000 (17:10 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 Jan 2008 17:10:31 +0000 (17:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8529 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/update-gosa | patch | blob | history |
diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa
index c8cb4aa6e3bd4f3efe8ed086af8e94c207cd8253..f9c51ee19881144dd38b39484e5ae19f6cb157fe 100755 (executable)
--- a/gosa-core/update-gosa
+++ b/gosa-core/update-gosa
{
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)) {
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);
}