[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    cvs2dist patch
From:       "Nathaniel W. Turner" <nate () houseofnate ! net>
Date:       2004-04-28 17:32:59
Message-ID: 200404281332.59361.nate () houseofnate ! net
[Download RAW message or body]

I had to apply the attached patch to get cvs2dist to fetch i18n stuff.
I'm calling cvs2dist without specifying a --branch, and my cvs (version 
1.12.5) does not like being told to checkout a module called "".  =)

cheers,
nate

-- 
Make sure your vote will count.
http://www.verifiedvoting.org/

["cvs2dist-000-fix.patch" (text/x-diff)]

Index: kdesdk/scripts/cvs2dist
===================================================================
RCS file: /home/kde/kdesdk/scripts/cvs2dist,v
retrieving revision 1.9
diff -u -3 -p -r1.9 cvs2dist
--- kdesdk/scripts/cvs2dist	9 Apr 2004 16:15:13 -0000	1.9
+++ kdesdk/scripts/cvs2dist	28 Apr 2004 17:13:25 -0000
@@ -295,7 +295,7 @@ remove="$remove $modulename.lsm"
 if [ $doi18n = "yes" ]; then
     pushd $temp_dir
     echo "cvs co kde-i18n/subdirs" >> $log
-    cvs -z4 -q -d "$cvsroot" co "$branch" -P kde-i18n/subdirs > /dev/null 2>&1
+    cvs -z4 -q -d "$cvsroot" co $branch -P kde-i18n/subdirs > /dev/null 2>&1
     i18nlangs="$(cat kde-i18n/subdirs)"
     echo "available languages: $i18nlangs" >> $log
     popd
@@ -313,7 +313,7 @@ if [ -d $module/doc/$name ]; then
 		test -d $temp_dist/doc/$lang && rm -Rf $temp_dist/doc/$lang
 		docdirname="kde-i18n/$lang/docs/$modulename/$name"
 		echo "cvs co $docdirname" >> $log
-		cvs -z4 -q -d "$cvsroot" co "$branch" -P "$docdirname" > /dev/null 2>&1
+		cvs -z4 -q -d "$cvsroot" co $branch -P "$docdirname" > /dev/null 2>&1
 		if [ ! -d "$docdirname" ]; then
 		    echo "$lang's $name documentation does not exist." >> $log
 		    continue
@@ -353,7 +353,7 @@ if [ $doi18n = "yes" ]; then
 	for lang in $i18nlangs; do
 		pofilename="kde-i18n/$lang/messages/$modulename/$name.po";
 		echo "cvs co $pofilename" >> $log
-		cvs -z4 -q -d "$cvsroot" co "$branch" -P "$pofilename" > /dev/null 2>&1
+		cvs -z4 -q -d "$cvsroot" co $branch -P "$pofilename" > /dev/null 2>&1
 		if [ ! -f "$pofilename" ]; then
 			echo "$lang's $name.po does not exist." >> $log
 			continue


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic