Skip to content

Commit

Permalink
Remove carriage returns when verifying
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Mar 29, 2018
1 parent 550d2a3 commit 6533df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/update
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ mkdir -p $BASE/stage
# See if used categories are valid
if ! find content -type f |
xargs grep -h '^category:' |
sed 's/ *$//' |
sed 's/[ \r]*$//' |
sort -u |
diff doc/valid_categories - ; then
error 'Invalid content category used; see above'
Expand Down

0 comments on commit 6533df8

Please sign in to comment.