From 743870947f61028c43bd414d5248fedf9bb72817 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sun, 25 Oct 2020 16:49:12 -0600 Subject: bash correctly --- .build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.build.yml b/.build.yml index 63ad596..17e4941 100644 --- a/.build.yml +++ b/.build.yml @@ -25,10 +25,10 @@ tasks: else metadata="version=$(git log -1 --no-decorate --oneline)" fi - pandoc --defaults=etc/pdf.yml -o ../spec.pdf -M "$metadata" $(echo files | awk '{ for (i=1; i<=NF; i++) printf "%s.html ", $i }') + pandoc --defaults=etc/pdf.yml -o ../spec.pdf -M "$metadata" $(echo $files | awk '{ for (i=1; i<=NF; i++) printf "%s.html ", $i }') - test-page-count: | - pages=$(pdfinfo spec.pdf | grep Pages | awk -f '{ print $2 }') - test pages -le 200 + pages=$(pdfinfo spec.pdf | grep Pages | awk '{ print $2 }') + test $pages -le 200 artifacts: - spec.pdf - spec-html.tar.gz -- cgit v1.2.3