windvn/path/wdvn-make
2022-08-13 18:53:33 +02:00

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"