aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2016-05-13 14:41:29 +0800
committerXu Cheng2016-05-13 14:41:29 +0800
commit77836cfb3fb1e24668e79f096431f671b56ec6da (patch)
tree2e06e48d4b139691efbbf0254286d486ac8ffa40
parent6eb2287221c1d87a2027bc66f439b94f8d2ce071 (diff)
downloadbrew-77836cfb3fb1e24668e79f096431f671b56ec6da.tar.bz2
fix shellcheck complaint
-rw-r--r--Library/Homebrew/cmd/update.sh2
-rw-r--r--Library/brew.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh
index 518d20c68..e1ba579ee 100644
--- a/Library/Homebrew/cmd/update.sh
+++ b/Library/Homebrew/cmd/update.sh
@@ -5,6 +5,8 @@
#: If `--merge` is specified then `git merge` is used to include updates
#: (rather than `git rebase`).
+# Hide shellcheck complaint:
+# shellcheck source=/dev/null
source "$HOMEBREW_LIBRARY/Homebrew/utils/lock.sh"
git_init_if_necessary() {
diff --git a/Library/brew.sh b/Library/brew.sh
index 185081e6f..7fb16afdd 100644
--- a/Library/brew.sh
+++ b/Library/brew.sh
@@ -215,6 +215,8 @@ EOS
esac
fi
+# Hide shellcheck complaint:
+# shellcheck source=/dev/null
source "$HOMEBREW_LIBRARY/Homebrew/utils/analytics.sh"
setup-analytics
report-analytics-screenview-command