From 23e57de80abc8706e05f237fc44228a10c74c201 Mon Sep 17 00:00:00 2001 From: Vlastimil Holer Date: Mon, 13 Nov 2017 16:07:38 +0100 Subject: [PATCH] B #5545: Image not decompressed on upload (#569) --- src/datastore_mad/remotes/downloader.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datastore_mad/remotes/downloader.sh b/src/datastore_mad/remotes/downloader.sh index 827db89c9b..748da6bb33 100755 --- a/src/datastore_mad/remotes/downloader.sh +++ b/src/datastore_mad/remotes/downloader.sh @@ -43,7 +43,7 @@ function get_type else command=$1 - ( $command | head -n 1024 | file -b --mime-type - ) 2>/dev/null + ( eval "$command" | head -n 1024 | file -b --mime-type - ) 2>/dev/null fi }