projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix: don't exclude linux brew
[webi-installers/.git]
/
_example
/
install.sh
diff --git
a/_example/install.sh
b/_example/install.sh
index 6ae2b2ec7ac1b1bda5d424af6ef35bf74abf0943..07e9694bdb68f74d5abaaf06c51ce405943264df 100644
(file)
--- a/
_example/install.sh
+++ b/
_example/install.sh
@@
-1,6
+1,6
@@
#!/bin/bash
#!/bin/bash
-{
+
function __init_foobar()
{
set -e
set -u
set -e
set -u
@@
-33,7
+33,9
@@
# foobar 0.99.9 (rev abcdef0123)
# This trims it down to just the version number:
# 0.99.9
# foobar 0.99.9 (rev abcdef0123)
# This trims it down to just the version number:
# 0.99.9
- echo $(foo --version 2>/dev/null | head -n 1 | cut -d ' ' -f 2)
+ echo $(foo --version 2>
/dev/null | head -n 1 | cut -d ' ' -f 2)
}
}
}
}
+
+__init_foobar