Skip to content

Commit 4f2bfcb

Browse files
authored
fix: Make zip script syntax change (#1399)
1 parent e8628c0 commit 4f2bfcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

c2pa_c_ffi/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ define make_zip
3737
fi; \
3838
mkdir -p $(TARGET_DIR)/artifacts $(1)/include $(1)/lib; \
3939
cp $(1)/c2pa.h $(1)/include/; \
40-
if [[ "$(2)" == *"ios"* ]]; then \
40+
if echo "$(2)" | grep -q "ios"; then \
4141
cp $(1)/libc2pa_c.a $(1)/lib/; \
4242
else \
4343
find $(1) -name "libc2pa_c.*" ! -name "*.a" ! -path "*/deps/*" -exec cp {} $(1)/lib/ \;; \

0 commit comments

Comments
 (0)