Skip to content

Commit

Permalink
chore: improve message (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
eitsupi authored Sep 16, 2024
1 parent b5ae47c commit 3005d56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ check_bin_lib() {
echo "---------------------- [LIBRARY BINARY FOUND] ----------------------"
echo "The library was found at <${LIBPRQLR_PATH}>. No need to build it."
echo ""
echo "Note: rustc version: $(rustc -V || echo 'Not found')"
echo "Note: rustc version: $(command -v rustc >/dev/null && rustc -V || echo 'Not found')"
echo "--------------------------------------------------------------------"
echo ""
sed -e "s|@RUST_TARGET@||" src/Makevars.in >src/Makevars
Expand All @@ -87,7 +87,7 @@ check_bin_lib() {
echo "but was found at <${LIBPRQLR_DEFAULT_PATH}>."
echo "No need to build it."
echo ""
echo "Note: rustc version: $(rustc -V || echo 'Not found')"
echo "Note: rustc version: $(command -v rustc >/dev/null && rustc -V || echo 'Not found')"
echo "--------------------------------------------------------------------"
echo ""
sed -e "s|@RUST_TARGET@||" src/Makevars.in >src/Makevars
Expand Down

0 comments on commit 3005d56

Please sign in to comment.