Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc delete .svn subdirs as part of the pre-imp...
details: https://anonhg.NetBSD.org/src/rev/dd92bff7d46e
branches: trunk
changeset: 326115:dd92bff7d46e
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jan 19 00:37:30 2014 +0000
description:
delete .svn subdirs as part of the pre-import.
diffstat:
external/gpl3/gcc/gcc2netbsd | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diffs (39 lines):
diff -r 9c1bd6fa9dbf -r dd92bff7d46e external/gpl3/gcc/gcc2netbsd
--- a/external/gpl3/gcc/gcc2netbsd Sun Jan 19 00:22:33 2014 +0000
+++ b/external/gpl3/gcc/gcc2netbsd Sun Jan 19 00:37:30 2014 +0000
@@ -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 @@
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 @@
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:
Home |
Main Index |
Thread Index |
Old Index