Fri Jan 27 18:02:09 2017 UTC ()
Strip first otherwise we end up with __RCSID("NetBSD")


(christos)
diff -r1.6 -r1.7 src/crypto/external/bsd/heimdal/heimdal2netbsd

cvs diff -r1.6 -r1.7 src/crypto/external/bsd/heimdal/heimdal2netbsd (expand / switch to context diff)
--- src/crypto/external/bsd/heimdal/heimdal2netbsd 2014/04/22 14:07:31 1.6
+++ src/crypto/external/bsd/heimdal/heimdal2netbsd 2017/01/27 18:02:09 1.7
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#	$NetBSD: heimdal2netbsd,v 1.6 2014/04/22 14:07:31 pettai Exp $
+#	$NetBSD: heimdal2netbsd,v 1.7 2017/01/27 18:02:09 christos Exp $
 #
 # Copyright (c) 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -184,15 +184,15 @@
 	echo froze NetBSD RCSID for $f
 done
 
+### Remove the $'s around RCS tags
+cleantags $d
+
 # Convert unexpanded RCSID's to the NetBSD way.
-find $d -type f -print | xargs egrep -l 'RCSID\("\$Id\$"\)' | while read f; do
-	sed -e 's/RCSID("\$\Id\$")/__RCSID("\$NetBSD\$")/' \
+find $d -type f -print | xargs egrep -l 'RCSID\("Id"\)' | while read f; do
+	sed -e 's/RCSID("Id")/__RCSID("\$NetBSD\$")/' \
 	    < $f > /tmp/heimdal1f$$ && mv /tmp/heimdal1f$$ $f && \
 	echo converted RCSID to NetBSD for $f
 done
-
-### Remove the $'s around RCS tags
-cleantags $d
 
 ### Add our NetBSD RCS Id
 find $d -type f -name '*.[chly]' -print | while read c; do