From: Brendan Hansen Date: Fri, 8 Dec 2023 02:09:10 +0000 (-0600) Subject: silly copy and paste error X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=f49b256507a40c326f9c29c52fdb749ca7585525;p=onyx.git silly copy and paste error --- 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