projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
243c4f8
)
bugfix: git installer: don't invoke install function with ()
author
AJ ONeal
<aj@therootcompany.com>
Mon, 26 Apr 2021 08:15:35 +0000
(08:15 +0000)
committer
AJ ONeal
<aj@therootcompany.com>
Mon, 26 Apr 2021 08:15:35 +0000
(08:15 +0000)
git/install.sh
patch
|
blob
|
history
diff --git
a/git/install.sh
b/git/install.sh
index 98bcf63f26bf1bbc34ed30290f8ba78847d29d2a..454f8cb1af69803ad911a829e1173a610255d748 100644
(file)
--- a/
git/install.sh
+++ b/
git/install.sh
@@
-6,12
+6,12
@@
function __init_git() {
if [ -z "$(command -v git)" ]; then
if [[ -n "$(uname -a | grep -i darwin)" ]]; then
if [ -z "$(command -v git)" ]; then
if [[ -n "$(uname -a | grep -i darwin)" ]]; then
-
>&2 echo
"Error: 'git' not found. You may have to re-install 'git' on Mac after every major update."
-
>&2 echo
" for example, try: xcode-select --install"
+
echo >&2
"Error: 'git' not found. You may have to re-install 'git' on Mac after every major update."
+
echo >&2
" for example, try: xcode-select --install"
# sudo xcodebuild -license accept
else
# sudo xcodebuild -license accept
else
-
>&2 echo
"Error: to install 'git' on Linux use the built-in package manager."
-
>&2 echo
" for example, try: xcode-select --install"
+
echo >&2
"Error: to install 'git' on Linux use the built-in package manager."
+
echo >&2
" for example, try: xcode-select --install"
fi
exit 1
else
fi
exit 1
else
@@
-20,4
+20,4
@@
function __init_git() {
}
}
-__init_git
()
+__init_git