make_maplist.sh 192 B

12345678
  1. #!/bin/bash
  2. ACTIONDIR=./..
  3. MAPDIR=$ACTIONDIR/maps
  4. CFGDIR=$ACTIONDIR/config
  5. cd $MAPDIR
  6. ls -1 *bsp | sed s/.bsp// > $CFGDIR/maplist.ini.current
  7. cd $CFGDIR
  8. sort maplist.ini.current > maplist.ini