summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-02 22:18:01 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-02 22:18:01 (EDT)
commit8181f2b4922b07b1d6e645f9dbdfcfcf6874c1b5 (patch)
tree055972dbede388c775611a21f95168713e8b941a /lib
parente96a4a43214a572b655316135d4dcd82b17c1f28 (diff)
Resolve package directory to an absolute path.
Diffstat (limited to 'lib')
-rw-r--r--lib/package.sh2
1 files changed, 1 insertions, 1 deletions
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