1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 23:38:06 +02:00

Default to taking first line of version output

This commit is contained in:
Shane Kilkelly 2020-06-16 11:45:31 +01:00
parent 715f4c7ac2
commit 761728b11d

View file

@ -65,7 +65,7 @@ function check_dependencies() {
elif [[ "perl" == "$binary_name" ]]; then
perl -e 'print $];'
else
$binary_name --version
$binary_name --version | head -n 1
fi
}