X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Fupdate-gosa;h=a4f418e1f05f3dd23e1dbb734bc1ab4445841bef;hb=f0d477d2c54952fcf7334cd6cc573a5495b443ce;hp=186947d5afd344da366bd9848bf60c923afd40c9;hpb=8037157447e699234c75d4e03550ba7159f987e5;p=gosa.git diff --git a/gosa-core/update-gosa b/gosa-core/update-gosa index 186947d5a..a4f418e1f 100755 --- a/gosa-core/update-gosa +++ b/gosa-core/update-gosa @@ -48,7 +48,11 @@ function get_classes($folder= ".") static $result= array(); if ($base_dir == ""){ - $base_dir= getcwd(); + if ($folder == "."){ + $base_dir= getcwd(); + } else { + $base_dir= $folder; + } } $currdir=getcwd();