summaryrefslogtreecommitdiff
blob: 18e5b08e1eaa126b51db000f8f6683c54a633180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Get all installed zip files
zips=$(ls /usr/share/games/eduke32/*.zip)

# Create opts for eduke32
for zip in ${zips[@]}; do
	opts+="-g ${zip} "
done

# Switch to /tmp, for writing there the log file and run eduke32 with set opts
cd /tmp && eduke32 ${opts}