rpms/ksh/F-12 ksh.spec,1.63,1.64 kshrc.rhs,1.1,1.2
Michal Hlavinka
mhlavink at fedoraproject.org
Mon May 31 12:42:22 UTC 2010
- Previous message: rpms/ksh/F-13 ksh.spec,1.62,1.63 kshrc.rhs,1.1,1.2
- Next message: rpms/couchdb/devel couchdb.init, 1.6, 1.7 couchdb.spec, 1.15, 1.16 import.log, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mhlavink
Update of /cvs/pkgs/rpms/ksh/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv31928
Modified Files:
ksh.spec kshrc.rhs
Log Message:
* Mon May 31 2010 Michal Hlavinka <mhlavink at redhat.com> - 20100309-6
- add pathmunge to /etc/kshrc
Index: ksh.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ksh/F-12/ksh.spec,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -p -r1.63 -r1.64
--- ksh.spec 5 May 2010 12:42:44 -0000 1.63
+++ ksh.spec 31 May 2010 12:42:22 -0000 1.64
@@ -6,7 +6,7 @@ URL: http://www.kornshell.com/
Group: System Environment/Shells
License: CPL
Version: 20100309
-Release: 5%{?dist}
+Release: 6%{?dist}
Source0: http://www.research.att.com/~gsf/download/tgz/ast-ksh.%{releasedate}.tgz
Source1: http://www.research.att.com/~gsf/download/tgz/INIT.%{releasedate}.tgz
Source3: kshrc.rhs
@@ -107,6 +107,9 @@ fi
rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon May 31 2010 Michal Hlavinka <mhlavink at redhat.com> - 20100309-6
+- add pathmunge to /etc/kshrc
+
* Wed May 05 2010 Michal Hlavinka <mhlavink at redhat.com> - 20100309-5
- fix rare cd builtin crash (#578582)
Index: kshrc.rhs
===================================================================
RCS file: /cvs/pkgs/rpms/ksh/F-12/kshrc.rhs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- kshrc.rhs 21 Oct 2008 17:16:49 -0000 1.1
+++ kshrc.rhs 31 May 2010 12:42:22 -0000 1.2
@@ -20,6 +20,21 @@ _src_etc_profile_d()
unset i
fi
}
+
+pathmunge () {
+case ":${PATH}:" in
+*:"$1":*)
+ ;;
+*)
+ if [ "$2" = "after" ]; then
+ PATH=$PATH:$1
+ else
+ PATH=$1:$PATH
+ fi
+esac
+}
+
_src_etc_profile_d
unset -f _src_etc_profile_d
+unset -f pathmunge
- Previous message: rpms/ksh/F-13 ksh.spec,1.62,1.63 kshrc.rhs,1.1,1.2
- Next message: rpms/couchdb/devel couchdb.init, 1.6, 1.7 couchdb.spec, 1.15, 1.16 import.log, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list