From 2ea4660cc57fcf8085008020fff6d497d6d2ac80 Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia-Ripoll Date: Sat, 2 Jan 2021 18:02:36 +0100 Subject: [PATCH] Eliminate message about git --- emacs-build.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/emacs-build.sh b/emacs-build.sh index 8870bf6..884c0af 100644 --- a/emacs-build.sh +++ b/emacs-build.sh @@ -77,9 +77,7 @@ function ensure_mingw_build_software () echo Giving up exit -1 fi - if which git >/dev/null 2>&1; then - echo Git is already installed - else + if [ -z `which git 2>&1` ]; then echo Installing Git for MSYS2 pacman -S --noconfirm --needed git if test "$?" != 0; then @@ -457,8 +455,7 @@ emacs_distfile="$emacs_root/zips/emacs-${emacs_branch_name}-${architecture}-full emacs_srcfile="$emacs_root/zips/emacs-${emacs_branch_name}-src.zip" emacs_dependencies="" if test "$emacs_branch_name" != "$emacs_branch"; then - echo Emacs branch ${emacs_branch} renamed to ${emacs_branch_name}. This - echo was done to avoid filesystem problems. + echo Emacs branch ${emacs_branch} renamed to ${emacs_branch_name} to avoid filesystem problems. fi for action in $actions; do emacs_source_dir="$emacs_build_git_dir/$emacs_branch_name"