aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorpaulrbr-fl <43074087+paulrbr-fl@users.noreply.github.com>2019-09-06 11:16:58 +0200
committerGitHub <noreply@github.com>2019-09-06 11:16:58 +0200
commit3290aaf7f973cf3c64219d029538f53f1d82da94 (patch)
treeb1708bf20cfed3e392696469fde0d98971394eb1
parent51ceebba75707c19d20d0f6ad4515259fed7ca99 (diff)
parentf24fb372bd6448f4e9e918a5ccace0d40f1770b8 (diff)
downloadansible-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.yml2
-rwxr-xr-xfiles/clever-set-domain.sh3
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
4sudo: false 4sudo: false
5 5
6install: 6install:
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 @@
3set -e 3set -e
4 4
5function checkDomain { 5function 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
9function setDomain { 10function setDomain {