cvs.sh patch

Adriaan de Groot groot at kde.org
Sat Sep 25 22:00:43 BST 2004


On Saturday 25 September 2004 20:31, Anatoli Gorchetchnikov wrote:
> cvs.sh seems to be broken. The following patch fixed it for me, but I am no
> scripting guru, and I don't seem to have package* files...
>
> Index: cvs.sh
> ===================================================================
> RCS file: /home/kde/kde-common/admin/cvs.sh,v
> retrieving revision 1.130.2.2
> diff -u -3 -p -r1.130.2.2 cvs.sh
> --- cvs.sh      17 Sep 2004 00:02:29 -0000      1.130.2.2
> +++ cvs.sh      24 Sep 2004 22:23:05 -0000
> @@ -647,7 +647,7 @@ fi
>  ### Main
>  ###
>
> -arg=`echo $1 | tr '\-.' __`
> +arg=`echo $1 | tr .- _`

That looks reasonable to me, just to avoid the possibility of the - ending up 
interpreted as an option indicator, though you'll perhaps need two 
underscores there for it to tr to.

CC-ing core-devel, where the folks with clout to commit this live.

-- 
   KPilot - www.kpilot.org - HotSync Solutions for KDE




More information about the kde-core-devel mailing list