CubicSDR/cmake/code_sign.sh.in
Charles J. Cliffe 77627b6013
Update code_sign.sh.in
Update script to sign dylib in all app subfolders
2023-10-16 23:36:37 -04:00

12 lines
346 B
Bash
Executable File

#!/bin/bash
for f in ${APPS}/Contents/**/*.dylib
do
/usr/bin/codesign --force --verify --verbose --sign "${CUBICSDR_CERT}" $f
done
for f in ${APPS}/Contents/MacOS/modules/*.so
do
/usr/bin/codesign --force --verify --verbose --sign "${CUBICSDR_CERT}" $f
done
/usr/bin/codesign --force --verify --verbose --sign "${CUBICSDR_CERT}" ${APPS}