From: Marc Fiuczynski Date: Fri, 24 Aug 2007 06:13:56 +0000 (+0000) Subject: make Fedora 7 compatible X-Git-Tag: bootmanager-3.2-2~35 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=0a499a33a9a0b9aaf152c8d38dcf1505431803cb;p=bootmanager.git make Fedora 7 compatible --- diff --git a/support-files/Makefile b/support-files/Makefile index 8d4a571..a565c3d 100644 --- a/support-files/Makefile +++ b/support-files/Makefile @@ -7,13 +7,13 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: Makefile,v 1.4 2006/08/20 21:21:13 thierry Exp $ +# $Id: Makefile,v 1.5 2007/03/08 17:52:21 mef Exp $ # all: PlanetLab-Bootstrap.tar.bz2 PlanetLab-Bootstrap.tar.bz2: - ./buildnode.sh -r $$([ -f "/etc/fedora-release" ] && awk ' { print $4 } ' /etc/fedora-release || echo "4") + ./buildnode.sh -r $$([ -f "/etc/fedora-release" ] && awk ' { if ($3=="Core") print $4; else print $3 } ' /etc/fedora-release || echo 4) clean: rm -f PlanetLab-Bootstrap.tar.bz2