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 }