aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-29 15:09:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-29 15:09:56 -0300
commit22add0bd4883dc763361e4484fc3d38527862831 (patch)
tree5a6413d6a667acd287cffe7664af6447912b2b87
parent3ca7015a4c572494e54642c132716fb7e6f3157e (diff)
downloadscripts-22add0bd4883dc763361e4484fc3d38527862831.tar.gz
scripts-22add0bd4883dc763361e4484fc3d38527862831.tar.bz2
Using 'cp -a' at mvln
-rwxr-xr-xmvln2
1 files changed, 1 insertions, 1 deletions
diff --git a/mvln b/mvln
index 2b921ca..fcc6cfd 100755
--- a/mvln
+++ b/mvln
@@ -15,4 +15,4 @@ fi
# Proceed
mkdir -p `dirname $2`
-cp "$1" "$2" && ln -sf "$2" "$1"
+cp -a "$1" "$2" && ln -sf "$2" "$1"