From 8595da906a8cf1b54e9dc8100ebeaf376331e79b Mon Sep 17 00:00:00 2001 From: jwerle Date: Wed, 30 Mar 2022 18:53:09 -0400 Subject: [PATCH] fix(lib/package/package.sh): emit real path 'bpkg_package_path' --- lib/package/package.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/package/package.sh b/lib/package/package.sh index 6aece15..a1d040b 100755 --- a/lib/package/package.sh +++ b/lib/package/package.sh @@ -58,20 +58,20 @@ find_file () { ## check if file exists at given path if test -f "$file"; then - echo "$file" + realpath "$file" return 0 fi ## check if file exists joined with currrent path (cwd) if test -f "$path/$file"; then - echo "$path/$file" + realpath "$path/$file" return 0 fi ## check if file exists in paths stopping at $HOME while [[ "$path" != "$HOME" && "$path" != "" ]]; do if test -f "$path/$file"; then - echo "$path/$file" + realpath "$path/$file" return 0 fi