1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-14 08:50:00 -05:00
OC-PsychOS2/mkmods.sh

9 lines
195 B
Bash
Raw Normal View History

2018-11-02 12:05:41 -04:00
#!/bin/bash
for f in service/*; do
nf=$(echo $f | cut -d '/' -f 2)
echo $nf
echo os.spawn\(function\(\) >mod-service/$nf
cat $f >> mod-service/$nf
echo end,\"$nf\"\) >> mod-service/$nf
done