mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
17 lines
246 B
Bash
17 lines
246 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
ok=yes
|
||
|
if [ -z "$1" ]; then
|
||
|
ok=
|
||
|
fi
|
||
|
if [ -z "$2" ]; then
|
||
|
ok=
|
||
|
fi
|
||
|
|
||
|
if [ -z "$ok" ]; then
|
||
|
echo "Usage: $0 <dir> <code for foreachmap.lua -e>"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
find -L "$1" -name '*.map' -print0 | xargs -0 ./foreachmap.lua "-e$2"
|