From a5f9c6cd906fd8079aeb427db8023913f277cac5 Mon Sep 17 00:00:00 2001 From: William Cohen Date: Mon, 8 Dec 2008 14:07:40 -0500 Subject: Minor edits in Chapter 2 and avoid using using yum file that may not be there. --- doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/SystemTap_Beginners_Guide/en-US/extras') diff --git a/doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh b/doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh index 72b03bcd..0449843e 100755 --- a/doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh +++ b/doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh @@ -1,5 +1,5 @@ #! /bin/bash -pkg=`grep distroverpkg /etc/yum.conf |awk -F= '{print $2}'` +pkg="redhat-release" releasever=`rpm -q --qf "%{version}" $pkg` base=`uname -m` echo "ftp://ftp.redhat.com/pub/redhat/linux/\ -- cgit