13 lines
258 B
Bash
Executable File
13 lines
258 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
|
|
echo "> $WDVN_LINE ..."
|
|
source wdvn-mod "mods/$WDVN_LINE" "$1"
|
|
done < "modlists/$WDVN_MODLIST"
|
|
done
|
|
wdvn-clean "$1" |