[dhcp/f15/master] Fix 11-dhclient to export variables (#702735)

Jiří Popelka jpopelka at fedoraproject.org
Mon May 9 12:32:23 UTC 2011


commit cfb7f7a28327c0029306c6fe578a0defbd12eac8
Author: Jiri Popelka <jpopelka at redhat.com>
Date:   Mon May 9 11:52:15 2011 +0200

    Fix 11-dhclient to export variables (#702735)

 11-dhclient |    2 +-
 dhcp.spec   |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/11-dhclient b/11-dhclient
index 5842f82..3be4cd6 100644
--- a/11-dhclient
+++ b/11-dhclient
@@ -12,7 +12,7 @@ declare | LC_ALL=C grep '^DHCP4_[A-Z_]*=' | while read opt; do
     optname=${optname,,}
     optname=new_${optname#dhcp4_}
     optvalue=${opt#*=}
-    echo "$optname=$optvalue"
+    echo "export $optname=$optvalue"
 done
 )"
 
diff --git a/dhcp.spec b/dhcp.spec
index a5ceb59..6119861 100644
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -16,7 +16,7 @@
 Summary:  Dynamic host configuration protocol software
 Name:     dhcp
 Version:  4.2.1
-Release:  6.%{patchver}%{?dist}
+Release:  7.%{patchver}%{?dist}
 # NEVER CHANGE THE EPOCH on this package.  The previous maintainer (prior to
 # dcantrell maintaining the package) made incorrect use of the epoch and
 # that's why it is at 12 now.  It should have never been used, but it was.
@@ -647,6 +647,9 @@ fi
 %{_initddir}/dhcrelay
 
 %changelog
+* Mon May 09 2011 Jiri Popelka <jpopelka at redhat.com> - 12:4.2.1-7.P1
+- Fix 11-dhclient to export variables (#702735)
+
 * Fri Apr 29 2011 Jiri Popelka <jpopelka at redhat.com> - 12:4.2.1-6.P1
 - Comply with guidelines for systemd services
 


More information about the scm-commits mailing list