summaryrefslogtreecommitdiff
path: root/bin/menus-build.sh
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-09-08 01:28:21 +0200
committeremkael <emkael@tlen.pl>2017-09-08 01:28:21 +0200
commit8f795b1d445441daab5ffb75060a6dbf8ed0934a (patch)
tree15e55a2a7e03867ac0cccfb8303674d478510503 /bin/menus-build.sh
parent655a9847513332e8e119f37f7ed95f4ab002b1a1 (diff)
Renaming scripts so that their names make sense
Diffstat (limited to 'bin/menus-build.sh')
-rwxr-xr-xbin/menus-build.sh9
1 files changed, 9 insertions, 0 deletions
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