Skip to content

Commit

Permalink
pipe text into awk
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Sep 24, 2024
1 parent 5c75a0e commit 5ca7072
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ build:
mv doxygen-$DOXYGEN_VERSION/bin/doxygen ./ &&
cd ..
- ls -a
- echo `awk -F "=" '/version/ {print $2}' library.properties`
- echo echo $(cat library.properties | awk -F "=" '/version/ {print $2}')
# get lib version & overwrite Doxyfile values
- >
RF24_VERSION=v$(awk -F "=" '/version/ {print $2}' library.properties) &&
RF24_VERSION=vecho $(cat library.properties | awk -F "=" '/version/ {print $2}') &&
touch docs/doxygenAction &&
echo "PROJECT_NUMBER = $RF24_VERSION" >> docs/doxygenAction &&
echo -e "\n@INCLUDE = doxygenAction" >> docs/Doxyfile
Expand Down

0 comments on commit 5ca7072

Please sign in to comment.