diff --git a/sunrise-commit.in b/sunrise-commit.in index 72de1c2..1d34e68 100755 --- a/sunrise-commit.in +++ b/sunrise-commit.in @@ -88,7 +88,7 @@ is_whole_dir_removed() { elif [ ${SC_VCS} = hg ]; then [ -z "$(hg status -madc "${1}")" ] elif [ ${SC_VCS} = cvs ]; then - [ -z "$(cvs -Q status -R "${1}" 2>/dev/null | grep -e '^File:' | grep -v -e 'Status: Locally Removed$')" ] + [ -z "$(cvs -Q status -R "${1}" 2>/dev/null | grep '^File:' | grep -v 'Status: Locally Removed$')" ] fi } @@ -197,8 +197,8 @@ check_for_changes() { elif [ ${SC_VCS} = svn ]; then output=$(svn status -- "${@}") elif [ ${SC_VCS} = cvs ]; then - # `U' indicates a remote, incomming update. - output=$(cvs -n -q update -R -- "${@}" 2>/dev/null | grep -v -e '^U') + # `U' indicates a remote, incoming update. + output=$(cvs -n -q update -R -- "${@}" 2>/dev/null | grep -v '^U') fi [ -z "${output}" ] && return 1 @@ -233,7 +233,7 @@ vcs_status() { elif [ ${SC_VCS} = svn ]; then svn status -- "${@}" elif [ ${SC_VCS} = cvs ]; then - cvs -n -q up -- "${@}" 2>/dev/null | grep -v -e '^U' + cvs -n -q up -- "${@}" 2>/dev/null | grep -v '^U' fi }