Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildAndPackageOpenCV.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ fi


# check installation
IMPORT_CHECK="$(python -c "import cv2 ; print cv2.__version__")"
IMPORT_CHECK="$(python -c "import cv2 ; print(cv2.__version__)")"
if [[ $IMPORT_CHECK != *$OPENCV_VERSION* ]]; then
echo "There was an error loading OpenCV in the Python sanity test."
echo "The loaded version does not match the version built here."
Expand Down
2 changes: 1 addition & 1 deletion buildOpenCV.sh
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ else
fi

# check installation
IMPORT_CHECK="$(python -c "import cv2 ; print cv2.__version__")"
IMPORT_CHECK="$(python -c "import cv2 ; print(cv2.__version__)")"
if [[ $IMPORT_CHECK != *$OPENCV_VERSION* ]]; then
echo "There was an error loading OpenCV in the Python sanity test."
echo "The loaded version does not match the version built here."
Expand Down