Skip to content

Commit

Permalink
Fix shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
rnjtranjan committed Nov 8, 2021
1 parent 23534c8 commit 5a4c635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,13 +390,13 @@ jobs:
command: |
bash -c "$PACKCHECK $BUILD" || exit 1
count=$(find . -name "*.hs" -exec grep -H '\ $' {} \; | tee /dev/tty | wc -l)
if $count > 0
if [ $count > 0 ]
then exit 1
fi
git diff > tmp_len
count2=$(awk '{ if (length($0) > 80) {print "Line length exceeds 80 : " length($0); print $0; } }' tmp_len | tee /dev/tty | wc -l)
rm tmp_len
if $count2 > 0
if [ $count2 > 0 ]
then exit 2
fi
- *save
Expand Down

0 comments on commit 5a4c635

Please sign in to comment.