obsoleted; String_free() is now inlined
[util-vserver.git] / util-vserver / scripts / pkgmgmt
index 933a1c1..5e3bb41 100755 (executable)
@@ -24,7 +24,7 @@ test -e "$UTIL_VSERVER_VARS" || {
 . "$UTIL_VSERVER_VARS"
 . "$_LIB_FUNCTIONS"
 . "$_LIB_VSERVER_BUILD_FUNCTIONS_PKGMGMT"
-. "$PKGLIBDIR/vserver.functions"
+. "$__PKGLIBDIR/vserver.functions"
 
 function showHelp()
 {
@@ -134,7 +134,8 @@ function _mountFilesystemsInternal()
 
 function _mountFilesystems()
 {
-    local cfgdir=$($_VSERVER_INFO "$1" CFGDIR) || {
+    local cfgdir
+    cfgdir=$($_VSERVER_INFO "$1" CFGDIR) || {
        echo "Can not determine configuration directory for '$1'; ..." >&2
        return 1
     }
@@ -146,7 +147,8 @@ function _mountFilesystems()
 
 function _umountFilesystems()
 {
-    local cfgdir=$($_VSERVER_INFO "$1" CFGDIR) || {
+    local cfgdir
+    cfgdir=$($_VSERVER_INFO "$1" CFGDIR) || {
        echo "Can not determine configuration directory for '$1'; ..." >&2
        return 1
     }