Add forgotten else into patch - auto_path fully functional.

This commit is contained in:
Marcela Mašláňová 2007-09-26 07:27:21 +00:00
parent d581faf94b
commit 472366bbb4
2 changed files with 7 additions and 3 deletions

View File

@ -12,13 +12,13 @@
- }
+if {[info exists env(TCLLIBPATH)]} {
+ set auto_path $env(TCLLIBPATH)
+}
+
+} else {
+if {[file exists "/usr/lib64/tclX8.3"]} {
+ set auto_path "/usr/share/tcl8.4 /usr/share /usr/lib64 /usr/lib"
+} else {
+ set auto_path ""
}
+}
+
+
namespace eval tcl {

View File

@ -3,7 +3,7 @@
Summary: Tcl scripting language development environment
Name: tcl
Version: %{majorver}.15
Release: 4%{?dist}
Release: 5%{?dist}
Epoch: 1
License: TCL
Group: Development/Languages
@ -142,6 +142,10 @@ rm -rf $RPM_BUILD_ROOT
%doc %{name}%{version}/html/*
%changelog
* Wed Sep 26 2007 Marcela Maslanova <mmaslano@redhat.com> - 1:8.4.15-5
- fix of patch - set auto_path was broken
- Resolves: rhbz#306321
* Fri Aug 24 2007 Marcela Maslanova <mmaslano@redhat.com> - 1:8.4.15-4
- rebuild for mass rebuild
- check license & path for 32b/64b fix