From: keie Date: Tue, 4 Dec 1984 21:48:14 +0000 (+0000) Subject: I hope this version is correct. X-Git-Tag: release-5-5~5896 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=01d4011dd6909ce6513008e84131663a29225feb;p=ack.git I hope this version is correct. --- diff --git a/distr/todistr b/distr/todistr index d452233bd..5ff93e2a7 100644 --- a/distr/todistr +++ b/distr/todistr @@ -17,8 +17,10 @@ do esac esac done -set -e case x$REV in -x) REV=`rlog -h "$FILE"|sed -n -e '/head/s/^head:[ ]*//'` ;; +x) REV=`rlog -h "$FILE"|sed -n -e '/head/s/^head:[ ]*//p'` ;; +esac +case x$REV in +x) exit 2 ;; esac rcs -ndistr2:$REV $FLAGS $FILE