Fix brp-python-bytecompile breakage from the recent whitespace patch

This commit is contained in:
Panu Matilainen 2011-09-06 22:37:42 +03:00
parent d0198dac5a
commit 547badd6ce
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ fi
# and below /usr/lib/python3.1/, we're targetting /usr/bin/python3.1
shopt -s nullglob
for python_libdir in "$RPM_BUILD_ROOT/usr/lib{,64}/python[0-9].[0-9]/" ;
for python_libdir in "$RPM_BUILD_ROOT"/usr/lib{,64}/python[0-9].[0-9]/ ;
do
python_binary=/usr/bin/$(basename $python_libdir)
real_libdir=${python_libdir/$RPM_BUILD_ROOT/}