From 2ba04b92d77f4f672c743a670752405f406cc05c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Wed, 13 Sep 2017 01:12:07 +0200 Subject: [PATCH] frontend update + fixes --- build_web.sh | 4 +--- front-end | 2 +- showmem.php | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build_web.sh b/build_web.sh index 1975ab5..3366a17 100755 --- a/build_web.sh +++ b/build_web.sh @@ -4,9 +4,7 @@ echo "-- Preparing WWW files --" [[ -e html ]] && rm -r html -cd front-end -ESP_PROD=1 sh ./build.sh -cd .. +ESP_PROD=1 front-end/build.sh echo "Copying from submodule..." diff --git a/front-end b/front-end index 9db61f0..b2174fc 160000 --- a/front-end +++ b/front-end @@ -1 +1 @@ -Subproject commit 9db61f0c1a0d3b19e62e3913954b28941faedc03 +Subproject commit b2174fc528d2766eb82d1e828d70bb432d4ea949 diff --git a/showmem.php b/showmem.php index d142615..0137910 100755 --- a/showmem.php +++ b/showmem.php @@ -23,7 +23,7 @@ foreach ($pieces as $piece) { } } -if ($argv[1]) { +if (isset($argv[1])) { $key = $argv[1]; uasort($table, function($a, $b) use ($key) { $av = $a[$key] ?? 0;