From f49b256507a40c326f9c29c52fdb749ca7585525 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Thu, 7 Dec 2023 20:09:10 -0600 Subject: [PATCH] silly copy and paste error --- build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 725aa2dc..675b9abb 100755 --- a/build.sh +++ b/build.sh @@ -77,7 +77,8 @@ compress_all() { # Sign the binaries on MacOS [ "$(uname)" = 'Darwin' ] && \ codesign -s - "$DIST_DIR/bin/onyx" && \ - [ -f "$DIST_DIR/lib/onyx_runtime.dylib" ] && codesign -s - "$DIST_DIR/lib/onyx_runtime.dylib" + [ -f "$DIST_DIR/lib/onyx_runtime.dylib" ] && \ + codesign -s - "$DIST_DIR/lib/onyx_runtime.dylib" if [ ! -z ${ONYX_RUNTIME_LIBRARY+x} ]; then # When including a runtime library, include the lib and include folders @@ -101,7 +102,8 @@ install_all() { # Sign the binaries on MacOS [ "$(uname)" = 'Darwin' ] && \ codesign -s - "$ONYX_INSTALL_DIR/bin/onyx" && \ - [ -f "$DIST_DIR/lib/onyx_runtime.dylib" ] && codesign -s - "$DIST_DIR/lib/onyx_runtime.dylib" + [ -f "$ONYX_INSTALL_DIR/lib/onyx_runtime.dylib" ] && \ + codesign -s - "$ONYX_INSTALL_DIR/lib/onyx_runtime.dylib" } for arg in $@; do -- 2.25.1