X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fscripts%2Ffunctions;h=22371ed1312a73d6d66655ee122ce462c47f8f40;hb=e2770a5bfa046e037e4e4feddef4fd4750389033;hp=966cacf6327afa997e62114608cb7182bc1b8696;hpb=9c55b6053c94c89ae5f8452878ee23c8f5988294;p=util-vserver.git diff --git a/util-vserver/scripts/functions b/util-vserver/scripts/functions index 966cacf..22371ed 100644 --- a/util-vserver/scripts/functions +++ b/util-vserver/scripts/functions @@ -63,7 +63,7 @@ function findAndCopy findFile tmp "$@" test "$tmp" -a -s "$tmp" || return 0 - cp -af "$tmp" "$dst" + $_CP -af "$tmp" "$dst" } function getPhysicalDir @@ -119,16 +119,52 @@ function isNumber return 0 } +## Usage: colorize