Fix --versions

This commit is contained in:
Mario Krehl 2016-09-07 11:14:08 +02:00
parent d69b8498e9
commit 12f9175700
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ fn main() {
for command in get_commands().iter() { for command in get_commands().iter() {
result.push(crossbeam::scope(|scope| { result.push(crossbeam::scope(|scope| {
scope.spawn(|| { scope.spawn(|| {
let v = Command::new(command).arg("--version").output(); let v = Command::new(format!("imag-{}",command)).arg("--version").output();
match v { match v {
Ok(v) => match String::from_utf8(v.stdout) { Ok(v) => match String::from_utf8(v.stdout) {
Ok(s) => format!("{} -> {}", command, s), Ok(s) => format!("{} -> {}", command, s),