aboutsummaryrefslogtreecommitdiff
path: root/mvln
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-29 15:19:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-29 15:19:49 -0300
commitece85f425d2415d179a88ff8a8d04ec4a9ced920 (patch)
tree03a12bfa143040eed6f5612686c304c2945bc618 /mvln
parent1625ef08498157a57c183563e8f5ee0bd8911f5e (diff)
downloadscripts-ece85f425d2415d179a88ff8a8d04ec4a9ced920.tar.gz
scripts-ece85f425d2415d179a88ff8a8d04ec4a9ced920.tar.bz2
Fix at mvln
Diffstat (limited to 'mvln')
-rwxr-xr-xmvln2
1 files changed, 1 insertions, 1 deletions
diff --git a/mvln b/mvln
index 184178e..17ff47c 100755
--- a/mvln
+++ b/mvln
@@ -15,4 +15,4 @@ fi
# Proceed
mkdir -p `dirname "$2"`
-mv "$1" "$2" && ln -s "$2" "$1"
+mv "$1" "$2" && ln -s "$2/`dirname $1`" "$1"