mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-01-31 02:32:16 +00:00
fix index building
This commit is contained in:
parent
fc0d552e90
commit
bf89bb3012
@ -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
|
||||
-*)
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user