pass CVS tag through to internal myplc build
[myplc.git] / build.sh
index 8b3c731..5520aee 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -14,7 +14,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id: build.sh,v 1.26 2006/07/18 20:06:51 mlhuang Exp $
+# $Id: build.sh,v 1.27 2006/07/24 19:32:23 mlhuang Exp $
 #
 
 . build.functions
@@ -51,8 +51,8 @@ service plc start
 plc-config --category=plc_devel --variable=bootstrap --value="false" --save
 service plc reload
 cd /
-cvs -d /cvs checkout build
-make -C /build myplc
+cvs -d /cvs checkout -r $TAG build
+make TAG=$TAG -C /build myplc
 EOF
 
     # Yoink the image that was just built