From 8181f2b4922b07b1d6e645f9dbdfcfcf6874c1b5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 02 Oct 2012 22:18:01 -0400 Subject: Resolve package directory to an absolute path. --- diff --git a/lib/package.sh b/lib/package.sh index 1cbef16..2398962 100644 --- a/lib/package.sh +++ b/lib/package.sh @@ -39,7 +39,7 @@ ob_init_package() return ${?} fi - _OB_PACKAGE_DIR="${_obip_dir}" + _OB_PACKAGE_DIR="$(cd "${_obip_dir}" && pwd)" if [ -r "${_OB_PACKAGE_DIR}/format" ]; then case "$(cat "${_OB_PACKAGE_DIR}/format")" in -- cgit v0.9.1