Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unary operator expected when checking patch result. #108

Open
Jackie9527 opened this issue Mar 29, 2022 · 0 comments
Open

Unary operator expected when checking patch result. #108

Jackie9527 opened this issue Mar 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Jackie9527
Copy link
Contributor

Here is the error logs.

--------------- Cloning bzip2 1.0.8 and building ---------------

fatal: destination path 'bzip2' already exists and is not an empty directory.
/home/jackie/o3de/3p-package-source/package-system/python/linux_x64/temp/bzip2 /home/jackie/o3de/3p-package-source/package-system/python/linux_x64/temp
Applying patch file /home/jackie/o3de/3p-package-source/package-system/python/linux_x64/open3d_bzip2.patch

/home/jackie/o3de/3p-package-source/package-system/python/linux_x64/make-python.sh: line 88: [: -ne: unary operator expected

No value is assigned to retVal.
Below is the code.

echo Applying patch file $PATCH_FILE
git apply --ignore-whitespace $PATCH_FILE
if [ $retVal -ne 0 ]; then
echo "Git apply failed"
exit $retVal

@lemonade-dm lemonade-dm added the bug Something isn't working label Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants