diff --git a/docker/pulsar/build-scripts/remove-unnecessary-native-binaries.sh b/docker/pulsar/build-scripts/remove-unnecessary-native-binaries.sh index fe97b71179d43e..8078c78900a12c 100755 --- a/docker/pulsar/build-scripts/remove-unnecessary-native-binaries.sh +++ b/docker/pulsar/build-scripts/remove-unnecessary-native-binaries.sh @@ -41,9 +41,9 @@ unzip $ROCKSDB_JAR > /dev/null if [ "$ARCH" = "x86_64" ] then - ROCKSDB_TO_KEEP=linux64-musl + ROCKSDB_TO_KEEP=linux64 else - ROCKSDB_TO_KEEP=linux-$ARCH-musl + ROCKSDB_TO_KEEP=linux-$ARCH fi ls librocksdbjni-* | grep -v librocksdbjni-${ROCKSDB_TO_KEEP}.so | xargs rm