summaryrefslogtreecommitdiffstats
path: root/client/engine/File.lib
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-07-09 07:05:08 +0000
committerramon <ramongomez@us.es>2012-07-09 07:05:08 +0000
commita14f9e00bcd3d84a90d038d8856a9501239ccc1d (patch)
treeec633d01cb7e5fe864f11870ac8b4ca0c4a33c57 /client/engine/File.lib
parentacf04d3d089775019660c0d6318f923baf736ab1 (diff)
Versión 1.0.4, #545: Corregir errata en función {{{ogCopyFile}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3254 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/File.lib')
-rwxr-xr-xclient/engine/File.lib4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/engine/File.lib b/client/engine/File.lib
index c56d1793..ea3956e6 100755
--- a/client/engine/File.lib
+++ b/client/engine/File.lib
@@ -118,9 +118,7 @@ esac
[ -n "$SOURCE" ] || ogRaiseError $OG_ERR_NOTFOUND "${ARGS% $*}" || return $?
TARGET="$(ogGetPath "$@")"
[ -n "$TARGET" ] || ogRaiseError $OG_ERR_NOTFOUND "$@" || return $?
-# Copiar fichero.
-cp -a "$SOURCE" "$TARGET" # (definir posible error)
-# Para evitar problemas con las comunicaciones las copias se hacen con rsync en lugar de cp.
+# Copiar fichero (para evitar problemas de comunicaciones las copias se hacen con rsync en vez de cp).
rsync --progress -avh "$SOURCE" "$TARGET"
}