diff options
author | William Cohen <wcohen@redhat.com> | 2008-12-08 14:07:40 -0500 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2008-12-08 14:07:40 -0500 |
commit | a5f9c6cd906fd8079aeb427db8023913f277cac5 (patch) | |
tree | a4df4fd6237ba8e4da1147538b39e342facb5759 /doc/SystemTap_Beginners_Guide/en-US/extras | |
parent | 761cee8846a0ad4ff9ec5ec5bec643548161ca27 (diff) | |
download | systemtap-steved-a5f9c6cd906fd8079aeb427db8023913f277cac5.tar.gz systemtap-steved-a5f9c6cd906fd8079aeb427db8023913f277cac5.tar.xz systemtap-steved-a5f9c6cd906fd8079aeb427db8023913f277cac5.zip |
Minor edits in Chapter 2 and avoid using using yum file that may not be there.
Diffstat (limited to 'doc/SystemTap_Beginners_Guide/en-US/extras')
-rwxr-xr-x | doc/SystemTap_Beginners_Guide/en-US/extras/rheldebugurl.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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/\ |