From: Erez Zadok Date: Wed, 20 Jan 1999 21:57:51 +0000 (+0000) Subject: fix typo X-Git-Tag: ild-branchpoint~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4cdebab5840e21d95a7951d35dbc6d6490c4f89;p=thirdparty%2Flibtool.git fix typo support -F --- diff --git a/commit b/commit index 9f8ad687b..40a1dd4d3 100755 --- a/commit +++ b/commit @@ -19,11 +19,14 @@ fi if test $# -gt 1 && test x"$1" = x"-m"; then echo "$2" > "$log_file" shift; shift +elif test $# -gt 1 && test x"$1" = x"-F"; then + cat < "$2" > "$log_file" || exit 1 + shift; shift fi echo "Checking whether repository is up to date..." >&2 commit=`cvs $cvsopt stat ${1+"$@"} 2>/dev/null | grep Status \ - | egrep -v '(Up-to-date|Cvsoptly )'` + | egrep -v '(Up-to-date|Locally )'` if test -n "$commit"; then echo "$commit"