mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 17:31:27 +00:00
a648522c68
git-svn-id: https://svn.eduke32.com/eduke32@3657 1a8010ca-5511-0410-912e-c29ae57300e0
16 lines
247 B
Bash
Executable file
16 lines
247 B
Bash
Executable file
#!/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" -iname '*.map' -print0 | xargs -0 ./foreachmap.lua "-e$2"
|