pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Remove username from content of CVS/Root to check CVS root



Module Name:	pkgsrc-wip
Committed By:	Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By:	ryoon
Date:		Sat Oct 17 12:07:45 2015 +0900
Changeset:	4122bead068c4a7bf5547222d0c6f9e442cdd13e

Modified Files:
	import-package.sh

Log Message:
Remove username from content of CVS/Root to check CVS root

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4122bead068c4a7bf5547222d0c6f9e442cdd13e

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

diffstat:
 import-package.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diffs:
diff --git a/import-package.sh b/import-package.sh
index 527117f..488e5a6 100755
--- a/import-package.sh
+++ b/import-package.sh
@@ -94,7 +94,7 @@ if [ "${CATEGORY}" = "wip" ]; then
 	fi
 else
 	SCM=CVS
-	CVSROOT="$(cat ../CVS/Root | tr A-Z a-z)"
+	CVSROOT="$(cat ../CVS/Root | tr A-Z a-z | sed -e 's/.*@//')"
 	if [ "${CVSROOT}" != "cvs.netbsd.org:/cvsroot" ]; then
 		echo "$0: wrong CVS root" 1>&2
 		exit 1


Home | Main Index | Thread Index | Old Index