diff options
author | paulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com> | 2019-09-06 11:16:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-06 11:16:58 +0200 |
commit | 3290aaf7f973cf3c64219d029538f53f1d82da94 (patch) | |
tree | b1708bf20cfed3e392696469fde0d98971394eb1 | |
parent | 51ceebba75707c19d20d0f6ad4515259fed7ca99 (diff) | |
parent | f24fb372bd6448f4e9e918a5ccace0d40f1770b8 (diff) | |
download | ansible-clever-3290aaf7f973cf3c64219d029538f53f1d82da94.tar.gz ansible-clever-3290aaf7f973cf3c64219d029538f53f1d82da94.tar.zst ansible-clever-3290aaf7f973cf3c64219d029538f53f1d82da94.zip |
Merge pull request #53 from paulrbr-fl/moar-compatv1.26
scripts: use short options instead of long ones
-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 { |