do not use absolute pathname for echo
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 26 Apr 1989 01:09:35 +0000 (17:09 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 26 Apr 1989 01:09:35 +0000 (17:09 -0800)
SCCS-vsn: sys/conf/newvers.sh 7.2

usr/src/sys/conf/newvers.sh

index 0eb5092..2ac5dec 100644 (file)
@@ -4,15 +4,15 @@
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
 # All rights reserved.  The Berkeley software License Agreement
 # specifies the terms and conditions for redistribution.
 #
-#      @(#)newvers.sh  7.1 (Berkeley) %G%
+#      @(#)newvers.sh  7.2 (Berkeley) %G%
 #
 if [ ! -r version ]
 then
 #
 if [ ! -r version ]
 then
-       /bin/echo 0 > version
+       echo 0 > version
 fi
 touch version
 v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date`
 fi
 touch version
 v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date`
-( /bin/echo "char sccs[] = \"@(#)4.3 BSD #${v}: ${t} (${u}@${h}:${d})\\n\";" ;
-  /bin/echo "char version[] = \"4.3 BSD UNIX #${v}: ${t}\\n    ${u}@${h}:${d}\\n\";"
+( echo "char sccs[] = \"@(#)4.3 BSD #${v}: ${t} (${u}@${h}:${d})\\n\";" ;
+  echo "char version[] = \"4.3 BSD UNIX #${v}: ${t}\\n    ${u}@${h}:${d}\\n\";"
 ) > vers.c
 ) > vers.c
-/bin/echo `expr ${v} + 1` > version
+echo `expr ${v} + 1` > version