Fix thinko from commit e83d5c0bdd

This commit is contained in:
Panu Matilainen 2013-09-12 15:51:43 +03:00
parent 5f3598a700
commit cdcd3c0cf4
1 changed files with 1 additions and 1 deletions

View File

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