Skip to content

Commit

Permalink
Fix shellcheck warning and update Travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
dpeukert authored and neverpanic committed Jun 20, 2020
1 parent 32e447a commit 53917a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
language: c
install:
- sudo apt-get update -qq
- sudo apt-get install -q vim-common file libffi6 libgmp10
- curl -L "http://archive.ubuntu.com/ubuntu/pool/universe/s/shellcheck/shellcheck_0.4.6-1_amd64.deb" -o "/tmp/shellcheck_0.4.6-1_amd64.deb"
- '[ "$(openssl dgst -sha256 "/tmp/shellcheck_0.4.6-1_amd64.deb" | cut -d " " -f 2)" == "95b4d2577f25ae47918bd53068a5ff42d5c34e5f884daa8dae32253044b45370" ]'
- sudo dpkg -i "/tmp/shellcheck_0.4.6-1_amd64.deb"
language: shell
script: make && make test SHELL="bash -x"
2 changes: 1 addition & 1 deletion google-font-download
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ for family in "${families[@]}"; do
# For each requested font format, download the font file and print the corresponding CSS statements.
for ((uaidx=0; uaidx < ${#formats[@]}; uaidx++)); do
uakey=${formats[$uaidx]}
if [ $uaidx -eq $(( ${#formats[@]} - 1 )) ]; then
if [ "$uaidx" -eq $(( ${#formats[@]} - 1 )) ]; then
terminator=";"
else
terminator=","
Expand Down

0 comments on commit 53917a1

Please sign in to comment.