diff options
author | 2009-02-15 15:02:18 +0000 | |
---|---|---|
committer | 2009-02-15 15:02:18 +0000 | |
commit | 230e07415d434a5432d330965559ead1a10e001c (patch) | |
tree | d04e377a4435ceab66555a7782b58ec3fbe0a8c9 /hooks | |
parent | c954a40d2348694ede9c281c6fc7f2e18aafe396 (diff) | |
download | paludis-230e07415d434a5432d330965559ead1a10e001c.tar.gz paludis-230e07415d434a5432d330965559ead1a10e001c.tar.xz |
Fix info index hook
Fixes: ticket:726
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/gnu_info_index.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/gnu_info_index.bash b/hooks/gnu_info_index.bash index 0f659c3b1..4b96e5900 100755 --- a/hooks/gnu_info_index.bash +++ b/hooks/gnu_info_index.bash @@ -55,7 +55,7 @@ for info_path in ${regen_info_dirs} ; do [[ -e "${info_path}"/dir ]] && mv -f "${info_path}/"dir{,.old} - for d in ${regen_info_dirs}/* ; do + for d in ${info_path}/* ; do [[ -f "${d}" ]] || continue [[ "${d}" != "${d%dir}" ]] && continue [[ "${d}" != "${d%dir.old}" ]] && continue |