Update Run.sh

This commit is contained in:
2023-09-30 18:25:36 +02:00
parent 8c88a49fa3
commit 038b400e29

4
Run.sh
View File

@@ -4,7 +4,9 @@ OUTPUT_DIR="$2"
MOD_NAME="$3"
function install() {
rsync -a $SCRIPT_DIR/usermaps/ $OUTPUT_DIR/usermaps/ --exclude '.git' --exclude '.iwd'
echo "SRC dir: $SCRIPT_DIR"
echo "DEST dir: $OUTPUT_DIR"
rsync -a $SCRIPT_DIR/usermaps/ $OUTPUT_DIR/usermaps/ --exclude '.git' --exclude '*.iwd'
find $SCRIPT_DIR/usermaps/ -name \*.iwd | rsync -av --files-from - --no-relative . $OUTPUT_DIR/mods/$MOD_NAME/
echo install ok