From 7cd7ad4e964f0cadaac390b02da8bda1cb498400 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 4 May 2010 15:10:07 +0000 Subject: [PATCH] Kosmetik --- checkin | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/checkin b/checkin index adbf2fa..d58868c 100755 --- a/checkin +++ b/checkin @@ -13,21 +13,21 @@ done for FILE in "$@"; do - echo - if [ ! -e "${FILE}" ] ; then + echo echo "File '${FILE}' doesn't exists." >&2 continue fi if [ ! -f "${FILE}" ] ; then + echo echo "File '${FILE}' isn't a normal file." >&2 continue fi case "${FILE}" in *,v) - echo "File '${FILE}' is a RCS repository." >&2 + #echo "File '${FILE}' is a RCS repository." >&2 continue ;; esac @@ -38,11 +38,13 @@ for FILE in "$@"; do rcsdiff -q "${FILE}" >/dev/null RES="$?" if [ "${RES}" = "0" ] ; then + echo echo "File '${FILE}' wasn't changed." >&2 continue fi fi + echo echo "Checking in '${FILE}' ..." PERM=`stat -c "%a" "${FILE}"` echo " rcs -q -l \"${FILE}\"" -- 2.39.5