2024-04-15 04:51:52 -04:00
|
|
|
#!/bin/bash
|
|
|
|
# I'm sure there's an easier way to do this.
|
|
|
|
# Simply copy over the conf files into the adjacent compiled directories.
|
2024-04-15 05:42:25 -04:00
|
|
|
echo Copying mod conf files...
|
2024-04-15 04:51:52 -04:00
|
|
|
for filename in source/*; do
|
|
|
|
mod_file_name=${filename//"source/"/};
|
|
|
|
old_dir="source/${mod_file_name}/mod.conf";
|
|
|
|
new_dir="mods/${mod_file_name}/mod.conf";
|
|
|
|
cp $old_dir $new_dir
|
2024-04-15 05:42:25 -04:00
|
|
|
done
|
|
|
|
echo Successfully copied mod conf files.
|