about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-05-02 21:14:01 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2015-05-02 21:14:01 +0200
commitb69755028b236f08b2334064974a2c046a9a5916 (patch)
tree88cd16a296daa6997dccdb2beff94627dbde375a
parent2c2cb15de6d7771950cb081474a7308dbd7d8d3a (diff)
downloadxtools-b69755028b236f08b2334064974a2c046a9a5916.tar.gz
xtools-b69755028b236f08b2334064974a2c046a9a5916.tar.xz
xtools-b69755028b236f08b2334064974a2c046a9a5916.zip
xdowngrade: fix for relative path arguments.
-rwxr-xr-xxdowngrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdowngrade b/xdowngrade
index 5467842..443f357 100755
--- a/xdowngrade
+++ b/xdowngrade
@@ -2,7 +2,7 @@
 # xdowngrade PKGS.xbps... - install XBPS package directly from .xbps file
 
 T=$(mktemp --tmpdir -d xdowngrade-$(date -I).XXXXXXXX)
-ln -s -t $T/ "$@"
+ln -s -r -t $T/ "$@"
 xbps-rindex -a $T/*
 pkg=
 for f; do