refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git] / dotenv-linter / install.sh
index 9bff300f321c015e4d5e99d162315a1385022d45..2cbf3a184be559bba567c274c1fa39b8dfe6c8b7 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-{
+function __dotenv_linter() {
     set -e
     set -u
 
@@ -33,7 +33,9 @@
         #       dotenv-linter 0.99.9 (rev abcdef0123)
         # This trims it down to just the version number:
         #       0.99.9
-        echo $(dotenv-linter --version 2>/dev/null | head -n 1 | cut -d ' ' -f 2)
+        echo $(dotenv-linter --version 2> /dev/null | head -n 1 | cut -d ' ' -f 2)
     }
 
 }
+
+__dotenv_linter