some valid codesign outcomes are not exit code 0

This commit is contained in:
Jacob Heider 2023-02-12 20:32:55 -05:00
parent 7e54c84c03
commit 7ff34e317e
No known key found for this signature in database
GPG key ID: 59D15ADC7DCD39BB

View file

@ -43,10 +43,10 @@ runs:
run: | run: |
for PATH in $PATHS; do for PATH in $PATHS; do
/usr/bin/find $PATH -name '*.so' -or -name '*.dylib' -print0 | \ /usr/bin/find $PATH -name '*.so' -or -name '*.dylib' -print0 | \
/usr/bin/xargs -0 /usr/bin/codesign -s "$IDENTITY" --force -v --deep --timestamp --preserve-metadata=entitlements -o runtime /usr/bin/xargs -0 /usr/bin/codesign -s "$IDENTITY" --force -v --deep --timestamp --preserve-metadata=entitlements -o runtime || true
if test -d $PATH/bin; then if test -d $PATH/bin; then
/usr/bin/find $PATH/bin -type f -print0 | \ /usr/bin/find $PATH/bin -type f -print0 | \
/usr/bin/xargs -0 /usr/bin/codesign -s "$IDENTITY" -v --force --deep --timestamp --preserve-metadata=entitlements -o runtime /usr/bin/xargs -0 /usr/bin/codesign -s "$IDENTITY" -v --force --deep --timestamp --preserve-metadata=entitlements -o runtime || true
fi fi
done done
env: env: