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

This commit is contained in:
2020-10-30 18:08:12 +01:00
parent e230fbce3a
commit f3921e3014
+1 -1
View File
@@ -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