From 5d975d93464007e8b7a54eb4a45400627668c0e3 Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Fri, 24 Aug 2007 06:48:06 +0000 Subject: [PATCH 1/1] Make Fedora 7 compatible --- bootcd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootcd.spec b/bootcd.spec index 3a87e3f..db28e6c 100644 --- a/bootcd.spec +++ b/bootcd.spec @@ -40,7 +40,7 @@ Central servers. pushd bootcd # Build the reference image -./prep.sh -a $(uname -i) -r $([ -f "/etc/fedora-release" ] && awk ' { print $4 } ' /etc/fedora-release || echo 4) +./prep.sh -a $(uname -i) -r $([ -f "/etc/fedora-release" ] && awk ' { if ($3=="Core") print $4; else print $3 } ' /etc/fedora-release || echo 4) # Build the default configuration (PlanetLab) ./build.sh -- 2.43.0