Commit 9f9f536
committed
build: fix CHECK_VERSION macro not working
The CHECK_VERSION macro sometimes produced false negatives due to
the redirection from stderr to /dev/null. Make sure that the package
exists before calling --version and only redirect stdout in
CHECK_VERSION.1 parent 41fa12d commit 9f9f536
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
112 | 120 | | |
113 | | - | |
| 121 | + | |
| 122 | + | |
114 | 123 | | |
115 | 124 | | |
116 | 125 | | |
| |||
0 commit comments