Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (14 sloc) 0.537 kB
#!/bin/bash
TARGET="$1"
find "$TARGET" -name _CodeSignature | while read line; do
if ! codesign -vvvvv "$line"/../..; then
echo "note: Detected modification in respect to signature $line. Resigning." >&2
codesign -s "$INFINITELABS_CODE_SIGNING_IDENTITY" -f -vvvvv "$line"/../..
fi
done
find "$TARGET" -name \*.dylib | while read line; do
if ! codesign -vvvvv "$line"; then
echo "note: Detected modification in signed file $line. Resigning." >&2
codesign -s "$INFINITELABS_CODE_SIGNING_IDENTITY" -f -vvvvv "$line"
fi
done
Jump to Line
Something went wrong with that request. Please try again.