From 01d4011dd6909ce6513008e84131663a29225feb Mon Sep 17 00:00:00 2001 From: keie Date: Tue, 4 Dec 1984 21:48:14 +0000 Subject: [PATCH] I hope this version is correct. --- distr/todistr | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.34.1