From ef24b9ea0f2d3aea25ab4d559e8de99713dbe3f2 Mon Sep 17 00:00:00 2001 From: wangbiao Date: Mon, 19 Aug 2024 16:56:31 +0900 Subject: build: use ulimit -d instead of ulimit -v Refer to: https://github.com/openSUSE/obs-build/commit/52cec996150a0050ad0c873cc4fc750a35fd460c Change-Id: Ia218f25524076fa0c68163cec8305f1d32a255de Signed-off-by: wangbiao --- build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build b/build index 1380265..ec07d23 100644 --- a/build +++ b/build @@ -563,7 +563,7 @@ setmemorylimit() { ;; esac done < <(cat /proc/meminfo) # cat for proc stuff - ulimit -v $limit + ulimit -d $limit echo "Memory limit set to ${limit}KB" } -- cgit v1.2.3