mirror of
https://github.com/munki/munki.git
synced 2026-05-01 17:59:56 -05:00
Update build_python_framework.sh (#1096)
Corrects the Python.framework path, and end of the script.
Before:
```
Verifying Universal2 builds...
182 libraries (*.so and *.dylib) found in the framework; only 90 are universal!
The following libraries are not universal:
find: Python.framework: No such file or directory
```
After:
```
Verifying Universal2 builds...
182 libraries (*.so and *.dylib) found in the framework; only 90 are universal!
The following libraries are not universal:
/Users/ben/Git/munki/Python.framework/Versions/3.9/lib/python3.9/site-packages/StoreKit/_StoreKit.abi3.so: Mach-O 64-bit bundle x86_64
</snip>
```
This commit is contained in:
@@ -66,7 +66,7 @@ UNIVERSAL_COUNT=$(find "${MUNKIROOT}/Python.framework" -name "*.so" -or -name "*
|
||||
if [ "$LIB_COUNT" != "$UNIVERSAL_COUNT" ] ; then
|
||||
echo "$LIB_COUNT libraries (*.so and *.dylib) found in the framework; only $UNIVERSAL_COUNT are universal!"
|
||||
echo "The following libraries are not universal:"
|
||||
find Python.framework -name "*.so" -or -name "*.dylib" | xargs file | grep -v "2 architectures" | grep -v "(for architecture"
|
||||
find "${MUNKIROOT}"/Python.framework -name "*.so" -or -name "*.dylib" | xargs file | grep -v "2 architectures" | grep -v "(for architecture"
|
||||
STATUS=1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user