X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.functions;h=68e1090b080f638df1a11b45f9ffafb9b94f28ef;hb=c3f2b0ae1254f9dc021bb8f6bbf7efd2f34e8e97;hp=e7623416b3adb3589596719c2240e4424f17d2f5;hpb=d58c319a61af9b089deed5d073169008e0c16954;p=myplc.git diff --git a/build.functions b/build.functions index e762341..68e1090 100644 --- a/build.functions +++ b/build.functions @@ -6,7 +6,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id: build.functions,v 1.1 2006/07/17 21:31:31 mlhuang Exp $ +# $Id: build.functions,v 1.3 2006/08/09 21:38:05 mlhuang Exp $ # PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -29,13 +29,16 @@ PLC_DEVEL_FEDORA_RELEASE=4 PLC_DEVEL_FEDORA_ARCH=i386 # Fedora Core mirror from which to install filesystems -PLC_DEVEL_FEDORA_URL=file:///usr/share/mirrors/fedora +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 -TAG=planetlab-$(date +%Y-%m-%d) +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 @@ -68,7 +71,8 @@ while getopts "l:r:a:t:h" opt ; do PLC_DEVEL_FEDORA_ARCH=$OPTARG ;; t) - TAG=$OPTARG + IMPORT_TAG=$OPTARG + BUILD_TAG=$OPTARG ;; h|*) usage