aboutsummaryrefslogtreecommitdiff
path: root/mvln
diff options
context:
space:
mode:
Diffstat (limited to 'mvln')
-rwxr-xr-xmvln4
1 files changed, 2 insertions, 2 deletions
diff --git a/mvln b/mvln
index fcc6cfd..184178e 100755
--- a/mvln
+++ b/mvln
@@ -14,5 +14,5 @@ if [ ! -e "$1" ]; then
fi
# Proceed
-mkdir -p `dirname $2`
-cp -a "$1" "$2" && ln -sf "$2" "$1"
+mkdir -p `dirname "$2"`
+mv "$1" "$2" && ln -s "$2" "$1"