File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ check_bin_lib() {
66
66
echo " ---------------------- [LIBRARY BINARY FOUND] ----------------------"
67
67
echo " The library was found at <${LIBPRQLR_PATH} >. No need to build it."
68
68
echo " "
69
- echo " Note: rustc version: $( rustc -V || echo ' Not found' ) "
69
+ echo " Note: rustc version: $( command -v rustc > /dev/null && rustc -V || echo ' Not found' ) "
70
70
echo " --------------------------------------------------------------------"
71
71
echo " "
72
72
sed -e " s|@RUST_TARGET@||" src/Makevars.in > src/Makevars
@@ -87,7 +87,7 @@ check_bin_lib() {
87
87
echo " but was found at <${LIBPRQLR_DEFAULT_PATH} >."
88
88
echo " No need to build it."
89
89
echo " "
90
- echo " Note: rustc version: $( rustc -V || echo ' Not found' ) "
90
+ echo " Note: rustc version: $( command -v rustc > /dev/null && rustc -V || echo ' Not found' ) "
91
91
echo " --------------------------------------------------------------------"
92
92
echo " "
93
93
sed -e " s|@RUST_TARGET@||" src/Makevars.in > src/Makevars
You can’t perform that action at this time.
0 commit comments