Module Name:    src
Committed By:   mrg
Date:           Sun Jan 19 00:37:30 UTC 2014

Modified Files:
        src/external/gpl3/gcc: gcc2netbsd

Log Message:
delete .svn subdirs as part of the pre-import.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/gcc2netbsd

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

Modified files:

Index: src/external/gpl3/gcc/gcc2netbsd
diff -u src/external/gpl3/gcc/gcc2netbsd:1.3 src/external/gpl3/gcc/gcc2netbsd:1.4
--- src/external/gpl3/gcc/gcc2netbsd:1.3	Fri Dec 13 10:01:49 2013
+++ src/external/gpl3/gcc/gcc2netbsd	Sun Jan 19 00:37:30 2014
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#	$NetBSD: gcc2netbsd,v 1.3 2013/12/13 10:01:49 mrg Exp $
+#	$NetBSD: gcc2netbsd,v 1.4 2014/01/19 00:37:30 mrg Exp $
 #
 # Copyright (c) 2011 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -39,10 +39,10 @@ then
 	echo "Usage: $PROG <directory>" 1>&2
 	exit 1
 fi
-FILE="$1"
+DIR="$1"
 
 ### Remove the $'s around RCS tags
-cleantags "$FILE"
+cleantags "$DIR"
 
 RM="
 boehm-gc
@@ -65,10 +65,11 @@ libstdc++-v3/testsuite
 zlib
 "
 
-find "$FILE" -name .cvsignore -exec rm -f {} +
-find "$FILE" -name .gitignore -exec rm -f {} +
+find "$DIR" -name .cvsignore -exec rm -f {} +
+find "$DIR" -name .gitignore -exec rm -f {} +
+find "$DIR" -name .svn -type d -exec rm -fr {} +
 for i in $RM; do
-	rm -fr "$FILE/$i"
+	rm -fr "$DIR/$i"
 done
 
 echo You can import now.  Use the following command:

Reply via email to