From: Marc Fiuczynski Date: Wed, 29 Aug 2007 03:13:07 +0000 (+0000) Subject: assume Fedora release should be at least FC4 X-Git-Tag: myplc-4.0-15~89 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=c79162bdd04bad550646104a4e88bfae45ca30b2 assume Fedora release should be at least FC4 --- diff --git a/build.functions b/build.functions index 52d6ef9..e0c7ff1 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.8 2007/08/24 07:11:36 mef Exp $ +# $Id: build.functions,v 1.9 2007/08/28 21:52:14 mef Exp $ # PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -26,6 +26,7 @@ export PATH # Release and architecture to install PLC_DEVEL_FEDORA_RELEASE=$([ -f "/etc/fedora-release" ] && awk ' { if ($2=="Core") print $4; else print $3 } ' /etc/fedora-release || echo 4) +[ $PLC_DEVEL_FEDORA_RELEASE -lt 4 ] && PLC_DEVEL_FEDORA_RELEASE=4 PLC_DEVEL_FEDORA_ARCH=$(uname -i) # Fedora Core mirror from which to install filesystems # xxx don't set URL... mkfedora will pick up the right thing