From: AJ ONeal Date: Thu, 28 Jan 2021 00:14:56 +0000 (-0700) Subject: _example: use function X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=23070c23f616758660b7acfaec7746c8a4dafabb;p=webi-installers%2F.git _example: use function --- diff --git a/_example/install.sh b/_example/install.sh index 6ae2b2e..280997c 100644 --- a/_example/install.sh +++ b/_example/install.sh @@ -1,6 +1,6 @@ #!/bin/bash -{ +function __init_foobar() { set -e set -u @@ -37,3 +37,5 @@ } } + +__init_foobar