Fix version nmumber and python version

This commit is contained in:
Thorsten Spille 2022-06-12 09:44:13 +02:00
parent 07e5f3502f
commit 7f666cb369

View File

@ -8,7 +8,7 @@ prog='$(basename "$0")'
source environment source environment
version=$1 version=$1
package=python$version package=python${version:0:3}
package_name=$package package_name=$package
echo "$(date) setting global vars..." echo "$(date) setting global vars..."
@ -56,8 +56,8 @@ make DESTDIR=$build_dir/$deb_package $install_param
cd $my_dir cd $my_dir
$build_dir/$deb_package/$prefix/bin/python3 -m pip install --prefix /$prefix --root $build_dir/$deb_package --upgrade pip $build_dir/$deb_package/$prefix/bin/python${version:0:3} -m pip install --prefix /$prefix --root $build_dir/$deb_package --upgrade pip
$build_dir/$deb_package/$prefix/bin/python3 -m pip install --prefix /$prefix --root $build_dir/$deb_package six toml $build_dir/$deb_package/$prefix/bin/python${version:0:3} -m pip install --prefix /$prefix --root $build_dir/$deb_package six toml
cd $build_dir cd $build_dir