1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-15 14:05:03 -05:00
curl/scripts/travis
Thomas M. DuBuisson 30974cb895
travis/script.sh: fix use of `-n' with unquoted envvar
Shellcheck tells us "-n doesn't work with unquoted arguments. quote or
use [[ ]]."

And testing shows:

```
docker run --rm -it ubuntu bash
root@fe85ce156856:/# [ -n $DOES_NOT_EXIST ] && echo "I ran"
I ran
root@fe85ce156856:/# [ -n "$DOES_NOT_EXIST" ] && echo "I ran"
root@fe85ce156856:/#
```

Closes #5773
2020-08-04 09:51:01 +02:00
..
before_script.sh travis: add ppc64le and s390x builds 2020-07-31 23:33:57 +02:00
iconv-env.sh copyright: fix out-of-date copyright ranges and missing headers 2020-03-24 15:05:59 +01:00
script.sh travis/script.sh: fix use of `-n' with unquoted envvar 2020-08-04 09:51:01 +02:00