mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-13 08:30:54 +02:00
libstd.bash: get_abspath(): do not test whether the file is readable
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user