mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
PycURL: try to fix the definition of pythonVersion for the buildbots.
For some unknown reason the previous definition was not working on the build servers, although it was on my system.
This commit is contained in:
@@ -64,8 +64,8 @@ fi
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonLibSuffix=${PYTHON_LIBSUFFIXES[$i]}
|
||||
pythonVersion="`$pythonPackage --version 2>&1 | sed -n \
|
||||
-e "s/Python \([0-9]*\.[0-9]*\)\..*/\1/p"`"
|
||||
pythonVersion=`eval "$pythonPackage --version 2>&1" | sed -n \
|
||||
-e "1s/Python \([0-9]*\.[0-9]*\)\..*/\1/p"`
|
||||
PYTHON_VERSIONS+=($pythonVersion)
|
||||
|
||||
eval "PROVIDES_${pythonPackage}=\"
|
||||
|
||||
Reference in New Issue
Block a user