diff --git a/builder b/builder index 4897527..d10157d 100755 --- a/builder +++ b/builder @@ -8,7 +8,7 @@ prog='$(basename "$0")' source environment version=$1 -package=python$version +package=python${version:0:3} package_name=$package echo "$(date) setting global vars..." @@ -56,8 +56,8 @@ make DESTDIR=$build_dir/$deb_package $install_param 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/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 --upgrade pip +$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