- fix Sticky Tag regexp
authorMark Huang <mlhuang@cs.princeton.edu>
Thu, 6 Jul 2006 20:54:19 +0000 (20:54 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Thu, 6 Jul 2006 20:54:19 +0000 (20:54 +0000)
planetlab.mk

index 8fbe0c1..41e522d 100644 (file)
@@ -30,7 +30,7 @@
 
 ifneq ($(wildcard CVS/Root),)
 CVSROOT := $(shell cat CVS/Root)
-TAG := $(shell cvs status Makefile | sed -ne 's/[[:space:]]*Sticky Tag:[[:space:]]*\(.*\)/\1/p')
+TAG := $(shell cvs status planetlab.mk | sed -ne 's/[[:space:]]*Sticky Tag:[[:space:]]*\([^[:space:]]*\).*/\1/p')
 ifeq ($(TAG),(none))
 TAG := HEAD
 endif