12 lines
232 B
Bash
Executable File
12 lines
232 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
mkdir -p "$1"
|
|
wdvn-get "$1"
|
|
for WDVN_MODLIST in "${@:2}"
|
|
do
|
|
while IFS="" read -r WDVN_LINE || [ -n "$WDVN_LINE" ]
|
|
do
|
|
source wdvn-mod "mods/$WDVN_LINE" "$1"
|
|
done < "modlists/$WDVN_MODLIST"
|
|
done
|
|
wdvn-clean "$1" |