summaryrefslogtreecommitdiff
path: root/bin/write-menus.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/write-menus.sh')
-rwxr-xr-xbin/write-menus.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/write-menus.sh b/bin/write-menus.sh
new file mode 100755
index 0000000..56b0929
--- /dev/null
+++ b/bin/write-menus.sh
@@ -0,0 +1,4 @@
+#!/bin/bash
+CONFIG_FILE=$1
+DIRECTORY=$2
+find $DIRECTORY -name \*.html -exec python static-menu.py $CONFIG_FILE {} $DIRECTORY \;