git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad9abf
)
- if build/ has been checked out (vs. exported), check the CVS metafiles
author
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 6 Jul 2006 14:28:50 +0000
(14:28 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 6 Jul 2006 14:28:50 +0000
(14:28 +0000)
to see what CVSROOT and TAG to use
planetlab.mk
patch
|
blob
|
history
diff --git
a/planetlab.mk
b/planetlab.mk
index
a50525f
..
8fbe0c1
100644
(file)
--- a/
planetlab.mk
+++ b/
planetlab.mk
@@
-28,8
+28,16
@@
# Default values
#
+ifneq ($(wildcard CVS/Root),)
+CVSROOT := $(shell cat CVS/Root)
+TAG := $(shell cvs status Makefile | sed -ne 's/[[:space:]]*Sticky Tag:[[:space:]]*\(.*\)/\1/p')
+ifeq ($(TAG),(none))
+TAG := HEAD
+endif
+else
CVSROOT := :pserver:anon@cvs.planet-lab.org:/cvs
TAG := HEAD
+endif
#
# kernel