]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
fix typo
authorErez Zadok <ezk@shekel.mcl.cs.columbia.edu>
Wed, 20 Jan 1999 21:57:51 +0000 (21:57 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 20 Jan 1999 21:57:51 +0000 (21:57 +0000)
support -F

commit

diff --git a/commit b/commit
index 9f8ad687b178bcc59f44f1d1a122e689465f05eb..40a1dd4d31f26772191471559b85406ff39ac278 100755 (executable)
--- 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"