Permalink
Browse files

fix fpm detection with -ignorestderr

  • Loading branch information...
hypatia2 committed Apr 18, 2016
1 parent f5e840a commit a39dc62b1e748bdccde734dea9a07837829dc364
Showing with 2 additions and 2 deletions.
  1. +2 −2 bootstrap.tcl
@@ -66,9 +66,9 @@ proc platforminfo {} {
}
proc locate-fpm {} {
if {[catch {exec fpm --version}] != 1} {
if {[catch {exec -ignorestderr fpm --version}] != 1} {
return fpm
} elseif {[catch {exec fpm.ruby2.1 --version}] != 1} {
} elseif {[catch {exec -ignorestderr fpm.ruby2.1 --version}] != 1} {
return fpm.ruby2.1
} else {
return ""

0 comments on commit a39dc62

Please sign in to comment.