diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/package.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/package.sh b/lib/package.sh index e3aba3c..d763f9a 100644 --- a/lib/package.sh +++ b/lib/package.sh @@ -87,6 +87,13 @@ ob_parse_package_metadata() return ${?} fi + # Load a previously saved cache file, if any. + if [ -n "${_obppm_cache_file}" -a -r "${_obppm_cache_file}" ]; then + . "${_obppm_cache_file}" + _ob_return 0 + return ${?} + fi + _ob_package_do 'parse_package_metadata' if [ -n "${_obppm_cache_file}" ]; then |