summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2010-11-21 16:00:46 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-21 19:45:20 +0100
commit16e7dc58f0a843761e536aa2119116462472f868 (patch)
treec27f31646eea7344fff44b7e60ab8028f84fed2e /Makefile
parent092dd1c30681f0ec6b218d5abb5ac2e64f5c2a8f (diff)
fix unlimit datasize
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 449d3eb8a..26f80c7cf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-_UNLIMIT= ulimit -dS $(shell ulimit -dH >/dev/null 2>/dev/null ) >/dev/null 2>/dev/null;
+_UNLIMIT= __limit=$$(ulimit -dH 2>/dev/null); \
+ test -n "$$__limit" && ulimit -dS $$__limit;
all: .prereq_done
@${_UNLIMIT} ${GMAKE_INV} all