Commit fb9141a1 authored by Vitaly Lipatov's avatar Vitaly Lipatov

erc: don't expand symlink in a path to a archive

parent d58d6139
......@@ -83,7 +83,7 @@ extract_archive()
local type="$(get_archive_type "$arc")"
arc="$(realpath "$arc")"
arc="$(realpath -s "$arc")"
tdir=$(mktemp -d $(pwd)/UXXXXXXXX) && cd "$tdir" || fatal
local TSUBDIR="$(basename "$arc" .$type)"
......
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