mirror of
https://github.com/arzzen/git-quick-stats.git
synced 2026-09-10 07:36:19 -04:00
Merge pull request #165 from chenrui333/patch-1
improve macos error message wrt gnu date
This commit is contained in:
commit
32a84903ff
|
|
@ -99,9 +99,9 @@ function checkUtils() {
|
|||
# the user that this will not work rather than having it silently bomb out
|
||||
# during runtime.
|
||||
if ! date --version >/dev/null 2>&1; then
|
||||
echo "ERROR: You must have GNU date installed."
|
||||
echo "If you're on macOS, please use brew to install this utility."
|
||||
echo "Make sure the GNU version of date is symlinked to 'date', too."
|
||||
echo "ERROR: GNU date is required."
|
||||
echo "If you're on macOS, please install it using 'brew install coreutils'."
|
||||
echo "Ensure that your PATH is configured to use GNU date as well."
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue