]> git.immae.eu Git - github/fretlink/ansible-clever.git/commitdiff
Merge pull request #53 from paulrbr-fl/moar-compat v1.26
authorpaulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>
Fri, 6 Sep 2019 09:16:58 +0000 (11:16 +0200)
committerGitHub <noreply@github.com>
Fri, 6 Sep 2019 09:16:58 +0000 (11:16 +0200)
scripts: use short options instead of long ones

.travis.yml
files/clever-set-domain.sh

index 36019b874d04257ff35fd8b2ddb47eb3939acba1..30043696499cb62c56a15f36a4af741ace1fe05f 100644 (file)
@@ -4,7 +4,7 @@ language: nix
 sudo: false
 
 install:
-  - nix-env -i python2.7-ansible python2.7-ansible-lint ShellCheck-0.6.0
+  - nix-env -i python2.7-ansible python2.7-ansible-lint ShellCheck-0.7.0
   - nix-env -if ./dhall-1.21.0.nix
 
   # Check ansible version
index a6454df4d3121811c60dd974f2f7f3f3aa31b81b..a562703fd9f97dff3d2aae77c70114539f25f855 100755 (executable)
@@ -3,7 +3,8 @@
 set -e
 
 function checkDomain {
-  clever domain | grep --ignore-case "${DOMAIN}"
+  # DNS domain names are case insensitive
+  clever domain | grep -i "${DOMAIN}"
 }
 
 function setDomain {