- skip the whole cvs import garbage
authorMark Huang <mlhuang@cs.princeton.edu>
Sat, 20 Jan 2007 04:04:25 +0000 (04:04 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Sat, 20 Jan 2007 04:04:25 +0000 (04:04 +0000)
build.functions

index 68e1090..c89aab3 100644 (file)
@@ -6,7 +6,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2006 The Trustees of Princeton University
 #
-# $Id: build.functions,v 1.3 2006/08/09 21:38:05 mlhuang Exp $
+# $Id: build.functions,v 1.4 2006/08/16 01:27:16 mlhuang Exp $
 #
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
@@ -31,18 +31,8 @@ PLC_DEVEL_FEDORA_ARCH=i386
 # Fedora Core mirror from which to install filesystems
 PLC_DEVEL_FEDORA_URL=file:///data/fedora
 
-# Build myplc inside myplc-devel
-PLC_DEVEL_BOOTSTRAP=true
-
-# Source tag to use for initial import of sources into local CVS
-IMPORT_TAG=planetlab-$(date +%Y-%m-%d)
-
-# Source tag to use for building from local CVS
-BUILD_TAG=HEAD
-
 # We may be running inside a myplc-devel environment, which can
-# override these defaults. Specifically, whether to build myplc inside
-# myplc-devel (PLC_DEVEL_BOOTSTRAP).
+# override these defaults.
 if [ -f /etc/planetlab/plc_config ] ; then
     . /etc/planetlab/plc_config
 fi
@@ -53,13 +43,12 @@ usage()
     echo "     -l url          Fedora mirror location (default: $PLC_DEVEL_FEDORA_URL)"
     echo "     -r release      Fedora release number (default: $PLC_DEVEL_FEDORA_RELEASE)"
     echo "     -a arch         Fedora architecture (default: $PLC_DEVEL_FEDORA_ARCH)"
-    echo "     -t tag          Source tag (default: $TAG)"
     echo "     -h              This message"
     exit 1
 }
 
 # Get options
-while getopts "l:r:a:t:h" opt ; do
+while getopts "l:r:a:h" opt ; do
     case $opt in
        l)
            PLC_DEVEL_FEDORA_URL=$OPTARG
@@ -70,10 +59,6 @@ while getopts "l:r:a:t:h" opt ; do
        a)
            PLC_DEVEL_FEDORA_ARCH=$OPTARG
            ;;
-       t)
-           IMPORT_TAG=$OPTARG
-           BUILD_TAG=$OPTARG
-           ;;
        h|*)
            usage
            ;;