[Pkg-tcltk-commits] r624 - tdom/trunk/debian

sgolovan-guest at alioth.debian.org sgolovan-guest at alioth.debian.org
Sun Jun 1 16:32:04 UTC 2008


Author: sgolovan-guest
Date: 2008-06-01 16:32:02 +0000 (Sun, 01 Jun 2008)
New Revision: 624

Removed:
   tdom/trunk/debian/checkout
Modified:
   tdom/trunk/debian/rules
Log:
[tdom]
Made cvs checkout simpler (a patch is provided by Stefan).


Deleted: tdom/trunk/debian/checkout
===================================================================
--- tdom/trunk/debian/checkout	2008-06-01 16:03:05 UTC (rev 623)
+++ tdom/trunk/debian/checkout	2008-06-01 16:32:02 UTC (rev 624)
@@ -1,26 +0,0 @@
-#!/usr/bin/expect
-
-switch -- [llength $argv] {
-    0 {
-	set date "now"
-	set dir .
-    }
-    1 {
-	set date "now"
-	set dir [lindex $argv 0]
-    }
-    default {
-	set date [clock format [expr {[clock scan [lindex $argv 1]] + 24*60*60}] -format %Y%m%dT%H:%M:%S]
-	set dir [lindex $argv 0]
-    }
-}
-
-cd $dir
-
-set cvsroot ":pserver:anonymous at cvs.tdom.org:/usr/local/pubcvs"
-spawn cvs -q -d$cvsroot login
-expect -re "assword: "
-send "\r"
-system "cvs -q -d$cvsroot -z9 co -D \"$date\" tdom"
-system "cvs -q -d$cvsroot logout"
-

Modified: tdom/trunk/debian/rules
===================================================================
--- tdom/trunk/debian/rules	2008-06-01 16:03:05 UTC (rev 623)
+++ tdom/trunk/debian/rules	2008-06-01 16:32:02 UTC (rev 624)
@@ -147,16 +147,16 @@
 
 version=0.8.3
 cvsdate=20080525
+cvspath=:pserver:anonymous at cvs.tdom.org:/usr/local/pubcvs
 
 get-orig-source: get-orig-source-cvs
 
 get-orig-source-cvs:
 	CURDIR=$$(pwd) && \
 	TMPDIR=$$(mktemp -d /tmp/tdom.XXXXXX) && \
-	SCRDIR=$$(dirname $$(echo $(MAKEFILE_LIST) | cut -f 1 -d ' ')) && \
-	expect $$SCRDIR/checkout $$TMPDIR "$(cvsdate)T23:59:59" && \
-	find $$TMPDIR -name CVS -print | xargs rm -rf && \
 	cd $$TMPDIR && \
+	cvs -q -d $(cvspath) -z9 co -D $(cvsdate)T23:59:59 tdom && \
+	find . -name CVS -print | xargs rm -rf && \
 	tar -zcf $$CURDIR/tdom_$(version)~$(cvsdate).orig.tar.gz . && \
 	rm -rf $$TMPDIR
 




More information about the Pkg-tcltk-commits mailing list