Commit 4f07fc99 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add workaround for readlink

parent 43e8e87e
...@@ -134,7 +134,8 @@ for i in "$@" ...@@ -134,7 +134,8 @@ for i in "$@"
do do
# , , . # , , .
if [ -f "$i" ]; then if [ -f "$i" ]; then
LISTNAMES="$LISTNAMES $(readlink -f $i)" # echo is workaround for missed readlink
LISTNAMES="$LISTNAMES $(readlink -f $i 2>/dev/null | echo $i)"
else else
set_target_type ${i/-/} || LISTARGS="$LISTARGS $i" set_target_type ${i/-/} || LISTARGS="$LISTARGS $i"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment