rpms/setup/F-10 setup-2.7.4-ksh-portability.patch, NONE, 1.1 setup.spec, 1.62, 1.63

Ondrej Vasik ovasik at fedoraproject.org
Thu Feb 26 12:13:40 UTC 2009


Author: ovasik

Update of /cvs/extras/rpms/setup/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14752

Modified Files:
	setup.spec 
Added Files:
	setup-2.7.4-ksh-portability.patch 
Log Message:
make output redirection in profile/bashrc work under ksh(#487419)

setup-2.7.4-ksh-portability.patch:

--- NEW FILE setup-2.7.4-ksh-portability.patch ---
diff -urNp setup-2.7.4-orig/bashrc setup-2.7.4/bashrc
--- setup-2.7.4-orig/bashrc	2009-02-26 13:03:54.000000000 +0100
+++ setup-2.7.4/bashrc	2009-02-26 13:05:13.000000000 +0100
@@ -56,7 +56,7 @@ if ! shopt -q login_shell ; then # We're
 			if [ "$PS1" ]; then
 				. $i
 			else
-				. $i &>/dev/null
+				. $i >/dev/null 2>&1
 			fi
 		fi
 	done
Binární soubory setup-2.7.4-orig/.bashrc.swp a setup-2.7.4/.bashrc.swp jsou různé
diff -urNp setup-2.7.4-orig/profile setup-2.7.4/profile
--- setup-2.7.4-orig/profile	2009-02-26 13:03:54.000000000 +0100
+++ setup-2.7.4/profile	2009-02-26 13:04:52.000000000 +0100
@@ -49,7 +49,7 @@ for i in /etc/profile.d/*.sh ; do
         if [ "$PS1" ]; then
             . $i
         else
-            . $i &>/dev/null
+            . $i >/dev/null 2>&1
         fi
     fi
 done


Index: setup.spec
===================================================================
RCS file: /cvs/extras/rpms/setup/F-10/setup.spec,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- setup.spec	30 Jan 2009 14:49:54 -0000	1.62
+++ setup.spec	26 Feb 2009 12:13:09 -0000	1.63
@@ -1,7 +1,7 @@
 Summary: A set of system configuration and setup files
 Name: setup
 Version: 2.7.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: Public Domain
 Group: System Environment/Base
 Source: setup-%{version}.tar.bz2
@@ -14,6 +14,7 @@
 Patch2: setup-2.7.4-uidgid.patch
 Patch3: setup-2.7.4-protocolsservices.patch
 Patch4: setup-2.7.4-rxvt.patch
+Patch5: setup-2.7.4-ksh-portability.patch
 
 %description
 The setup package contains a set of important system configuration and
@@ -25,6 +26,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 # Run any sanity checks.
@@ -85,6 +87,9 @@
 %ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/mtab
 
 %changelog
+* Thu Feb 26 2009 Ondrej Vasik <ovasik at redhat.com> 2.7.4-4
+- make output redirection work under ksh(#487419)
+
 * Fri Jan 30 2009 Ondrej Vasik <ovasik at redhat.com> 2.7.4-3
 - add gid 87 reservation for polkituser, add gid reservation
   for group cdrom(:11), dialout(:18), tape(:33) , kvm (:36) ,




More information about the fedora-extras-commits mailing list