Fix typo postinstall.

This commit is contained in:
John Correira 2020-08-06 15:27:20 -04:00 committed by GitHub
parent b9bb44f585
commit 95bc80ba0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ fi
##
# Check for 'git', exit if it's not found.
##
hash git 2>/dev/null1
hash git 2>/dev/null
if [ $? -eq 1 ]; then
echo "ERROR: 'git' is required to install netcdf-fortran automatically"
echo "through this method. Please reinstall git and try again."