hashcache will now take into account path_root when determining cache location
parent
e69f16e908
commit
d14eda464e
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
# intended to be configured from a configuration file; lowercase to help
|
# intended to be configured from a configuration file; lowercase to help
|
||||||
# mitigate global env var conflicts
|
# mitigate global env var conflicts
|
||||||
cachefile="${hashcache:-.hashcache}"
|
cachefile="${hashcache:-${path_root:+$path_root/}.hashcache}"
|
||||||
|
|
||||||
# 'cause it rhymes and 'cause it's useful
|
# 'cause it rhymes and 'cause it's useful
|
||||||
_cache()
|
_cache()
|
||||||
|
|
|
@ -53,7 +53,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# store our cwd and enter our own (to make invoking relative scripts easier)
|
# store our cwd and enter our own (to make invoking relative scripts easier)
|
||||||
path_root="$( pwd )"
|
export path_root="$( pwd )"
|
||||||
path_out="$path_root"
|
path_out="$path_root"
|
||||||
path="$( dirname "$0" )"
|
path="$( dirname "$0" )"
|
||||||
cd "$path"
|
cd "$path"
|
||||||
|
@ -145,7 +145,7 @@ export msgfmt_default=./msgfmt
|
||||||
msgfmt="${msgfmt:-$default}"
|
msgfmt="${msgfmt:-$default}"
|
||||||
|
|
||||||
# make configuration available to all scripts
|
# make configuration available to all scripts
|
||||||
export title desc copyright license msgfmt url_root path_tpl path path_root \
|
export title desc copyright license msgfmt url_root path_tpl path \
|
||||||
html_external_css html_footer html_index_footer html_commit_footer \
|
html_external_css html_footer html_index_footer html_commit_footer \
|
||||||
html_ext html_pre_index html_body_class html_tsep repo_url repo_commit_url
|
html_ext html_pre_index html_body_class html_tsep repo_url repo_commit_url
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue