From 04670e3236dae28ddda192b546b07306298e6687 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Fri, 8 Jul 2022 15:13:24 +0200 Subject: [PATCH] Some syntax fixes --- Docker/utils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Docker/utils.sh b/Docker/utils.sh index 500b01e..fbbd201 100644 --- a/Docker/utils.sh +++ b/Docker/utils.sh @@ -10,8 +10,8 @@ _get_pixel_color(){ x=$1; y=$2; output_path="/tmp/$(mktemp -u XXXXXX).png" - scrot $output_path - magick $output_path -format "%[hex:p{$x,$y}]" info: + scrot "$output_path" + magick "$output_path" -format "%[hex:p{$x,$y}]" info: END=$(timestamp) DIFF=$(echo "$END - $START" | bc) echo "{\"getting_pixel_color_took\": \"${DIFF}ms\"}" > /dev/stderr