projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
chore(style): convert blocks into functions (see #325)
[webi-installers/.git]
/
arc
/
install.sh
diff --git
a/arc/install.sh
b/arc/install.sh
index 4d983ee34fcd1c19a6463c8f5bd4e0a15585d341..184c05c0bb8e6fb6ceec887b205685f90e84189d 100644
(file)
--- a/
arc/install.sh
+++ b/
arc/install.sh
@@
-1,4
+1,5
@@
-{
+#!/bin/bash
+function __init_arc() {
set -e
set -u
@@
-34,3
+35,5
@@
echo "$(arc version 2> /dev/null | head -n 1 | cut -d' ' -f2 | sed 's:^v::')"
}
}
+
+__init_arc