projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git]
/
_example
/
install.sh
diff --git
a/_example/install.sh
b/_example/install.sh
index 280997cd7af9a93c1e61a8f4ff4a1fb7c63d79df..07e9694bdb68f74d5abaaf06c51ce405943264df 100644
(file)
--- a/
_example/install.sh
+++ b/
_example/install.sh
@@
-33,7
+33,7
@@
function __init_foobar() {
# 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)
}
}
}
}