Module Name:    src
Committed By:   christos
Date:           Wed Feb 22 17:47:25 UTC 2012

Modified Files:
        src/external/bsd/file: file2netbsd

Log Message:
fix wrong variable, import command


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/file/file2netbsd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/file/file2netbsd
diff -u src/external/bsd/file/file2netbsd:1.2 src/external/bsd/file/file2netbsd:1.3
--- src/external/bsd/file/file2netbsd:1.2	Sat Oct  8 15:28:39 2011
+++ src/external/bsd/file/file2netbsd	Wed Feb 22 12:47:25 2012
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#	$NetBSD: file2netbsd,v 1.2 2011/10/08 19:28:39 christos Exp $
+#	$NetBSD: file2netbsd,v 1.3 2012/02/22 17:47:25 christos Exp $
 #
 # Copyright (c) 2003, 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -47,7 +47,7 @@ file_vers="$(awk -F', ' '/AC_INIT\(/ { p
 find "$FILE" -name .cvsignore -delete
 
 ### Remove the $'s around RCS tags
-cleantags $d
+cleantags "$FILE"
 
 ### Add NetBSD RCS Id
 find "$FILE" -type f -name '*.[chly]' -print | while read c; do
@@ -99,6 +99,6 @@ wq' | ed Makefile.in > /dev/null 2>&1
 echo done
 
 echo You can import now.  Use the following command:
-echo cvs import src/external/bsd/file/dist CHRISTOS FILE${file_vers%.*}_${file_vers#*.}
+echo cvs -d cvs.netbsd.org:/cvsroot import src/external/bsd/file/dist CHRISTOS FILE${file_vers%.*}_${file_vers#*.}
 
 exit 0

Reply via email to