Don't error out trying to set illegal LD.BFD variable name

This commit is contained in:
Kalev Lember 2011-03-17 15:11:52 +02:00
parent 36b5a23ed2
commit 5b66efd7ed
2 changed files with 6 additions and 3 deletions

View File

@ -76,7 +76,7 @@ package or when debugging this package.\
unset PKG_CONFIG_PATH; \
_PREFIX="%{_bindir}/%{_mingw32_target}-"; \
for i in `ls -1 ${_PREFIX}* | grep -v 'gcc-'`; do \
x=`echo $i|sed "s,${_PREFIX},,"|tr "a-z+-" "A-ZX_"`; \
x=`echo $i|sed "s,${_PREFIX},,"|tr "a-z+-." "A-ZX__"`; \
declare -x $x="$i" ; export $x; \
done; \
unset _PREFIX; \

View File

@ -1,8 +1,8 @@
%define debug_package %{nil}
Name: mingw32-filesystem
Version: 64
Release: 3%{?dist}
Version: 65
Release: 1%{?dist}
Summary: MinGW base filesystem and environment
Group: Development/Libraries
@ -168,6 +168,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Mar 17 2011 Kalev Lember <kalev@smartlink.ee> - 65-1
- Don't error out trying to set illegal LD.BFD variable name
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 64-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild