From 8f795b1d445441daab5ffb75060a6dbf8ed0934a Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 8 Sep 2017 01:28:21 +0200 Subject: Renaming scripts so that their names make sense --- bin/menus-build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/menus-build.sh (limited to 'bin/menus-build.sh') diff --git a/bin/menus-build.sh b/bin/menus-build.sh new file mode 100755 index 0000000..0ac3a92 --- /dev/null +++ b/bin/menus-build.sh @@ -0,0 +1,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 -- cgit v1.2.3