fix index building

This commit is contained in:
Rudolf Polzer 2010-10-05 14:38:20 +02:00
parent fc0d552e90
commit bf89bb3012

View File

@ -16,10 +16,16 @@ allmaps()
{
commithash=$1
shift
for F in `git ls-files "$commithash" -- maps/\*.map.options`; do
M=${F#maps/}
M=${M%.map.options}
blobhash=`git rev-parse --revs-only "$commithash:maps/$M.map.options" || true`-`git rev-parse --revs-only "$commithash:maps/$M.map" || true`
for F in `git show "${commithash}:maps/"`; do
case "$F" in
*.map.options)
;;
*)
continue
;;
esac
M=${F%.map.options}
blobhash=`git rev-parse --revs-only "${commithash}:maps/$M.map.options" || true`-`git rev-parse --revs-only "${commithash}:maps/$M.map" || true`
case "$blobhash" in
-*)
;;