summaryrefslogtreecommitdiff
path: root/bin/menus-build.sh
blob: 0ac3a920bcabc35fb868ada8578d29a26bdaaddd (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
CONFIG_FILE=$1
DIRECTORY=$2
mkdir -p $DIRECTORY/players
find $DIRECTORY -type d -not -name _\* |
    while read HTMLDIR
    do
        python scripts/menus-compile.py $CONFIG_FILE $DIRECTORY $HTMLDIR > $HTMLDIR/.menu.html
    done