On Sun, Oct 16, 2016 at 11:13:09AM +0100, Stuart Henderson wrote:
> I'm OK with that.

Thanks, I think I prefer the version with quotes, for consistency and
safety. Still ok?

Index: newvers.sh
===================================================================
RCS file: /var/cvs/src/sys/conf/newvers.sh,v
retrieving revision 1.148
diff -u -p -r1.148 newvers.sh
--- newvers.sh  1 Sep 2016 14:12:07 -0000       1.148
+++ newvers.sh  16 Oct 2016 10:18:46 -0000
@@ -38,7 +38,7 @@ then
 fi
 
 touch version
-v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date`
+v=`cat version` u=${USER-root} d="${PWD%/obj}" h=`hostname` t=`date`
 id=`basename "${d}"`
 
 # additional things which need version number upgrades:

Reply via email to