From fa649b976534c75250af060063275c522269cc38 Mon Sep 17 00:00:00 2001 From: Junduo Dong Date: Sat, 2 Nov 2024 22:15:46 +0800 Subject: [PATCH] fix wrong shell syntax Signed-off-by: Junduo Dong --- BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD b/BUILD index 505b944e2a..7ea9cfa090 100644 --- a/BUILD +++ b/BUILD @@ -104,7 +104,7 @@ genrule( WORK_DIR=$$(pwd) u_name=`uname -s` os_name=$${u_name: 0: 4} - if [ "${os_name}" == "MING" ] || [ "${os_name}" == "MSYS" ] + if [ "$(os_name)" == "MING" ] || [ "$(os_name)" == "MSYS" ] then cp -f $(location python/pyfury/_util.so) "$$WORK_DIR/python/pyfury/_util.pyd" cp -f $(location python/pyfury/lib/mmh3/mmh3.so) "$$WORK_DIR/python/pyfury/lib/mmh3/mmh3.pyd"