diff options
-rw-r--r-- | .travis.yml | 2 | ||||
-rwxr-xr-x | files/clever-set-domain.sh | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 36019b8..3004369 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -4,7 +4,7 @@ language: nix | |||
4 | sudo: false | 4 | sudo: false |
5 | 5 | ||
6 | install: | 6 | install: |
7 | - nix-env -i python2.7-ansible python2.7-ansible-lint ShellCheck-0.6.0 | 7 | - nix-env -i python2.7-ansible python2.7-ansible-lint ShellCheck-0.7.0 |
8 | - nix-env -if ./dhall-1.21.0.nix | 8 | - nix-env -if ./dhall-1.21.0.nix |
9 | 9 | ||
10 | # Check ansible version | 10 | # Check ansible version |
diff --git a/files/clever-set-domain.sh b/files/clever-set-domain.sh index a6454df..a562703 100755 --- a/files/clever-set-domain.sh +++ b/files/clever-set-domain.sh | |||
@@ -3,7 +3,8 @@ | |||
3 | set -e | 3 | set -e |
4 | 4 | ||
5 | function checkDomain { | 5 | function checkDomain { |
6 | clever domain | grep --ignore-case "${DOMAIN}" | 6 | # DNS domain names are case insensitive |
7 | clever domain | grep -i "${DOMAIN}" | ||
7 | } | 8 | } |
8 | 9 | ||
9 | function setDomain { | 10 | function setDomain { |