From dc597e9fbf9ea78110905649cf39df5a1662c1d8 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 4 Jul 2017 15:55:04 +0200 Subject: Build scripts for static content and menu --- bin/write-menus.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bin/write-menus.sh (limited to 'bin/write-menus.sh') 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 \; -- cgit v1.2.3