Commit f3921e30 authored by gsell's avatar gsell

libstd.bash: get_abspath(): do not test whether the file is readable

parent e230fbce
......@@ -57,7 +57,7 @@ std::get_YN_answer() {
# $1: filename
std::get_abspath() {
local -r fname=$1
[[ -r "${fname}" ]] || return 1
#[[ -r "${fname}" ]] || return 1
if [[ -d ${fname} ]]; then
echo $(cd "${fname}" && pwd)
else
......
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