This commit is contained in:
NRK 2021-11-01 14:15:49 +06:00
parent d2dff487e0
commit 65ae3abc24
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ fi
if [ "$3" ]; then
if [ "$entry" ]; then
case "$entry" in
/*) fullpath="$PWD/$entry" ;;
*) fullpath="$entry" ;;
/*) fullpath="$entry" ;;
*) fullpath="$PWD/$entry" ;;
esac
if [ "-" = "$3" ]; then
printf "%s\n" "$fullpath"