diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/package.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/package.sh b/lib/package.sh index aa0d029..1cbef16 100644 --- a/lib/package.sh +++ b/lib/package.sh @@ -91,7 +91,11 @@ ob_parse_package_metadata() # Load a previously saved cache file, if any. if [ -n "${_obppm_cache_file}" -a -r "${_obppm_cache_file}" ]; then - . "${_obppm_cache_file}" + if [ "${_obppm_cache_file#*/}" != "${_obppm_cache_file}" ]; then + . "${_obppm_cache_file}" + else + . "./${_obppm_cache_file}" + fi _ob_return 0 return ${?} fi |