chore(style): add shebang, set bash strict mode, create function
[webi-installers/.git] / shfmt / install.sh
index c2d212313b5ba84a6060eee80cededa1109610c7..b57cb99c0e133ab7ed26581a844349bd04e43d31 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/bash
+set -e
+set -u
 
 function __init_shfmt() {
-    set -e
-    set -u
 
     ##################
     # Install shfmt #