diff options
author | Thorsten Glaser <tg@mirbsd.org> | 2010-11-21 16:00:46 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-11-21 19:45:20 +0100 |
commit | 16e7dc58f0a843761e536aa2119116462472f868 (patch) | |
tree | c27f31646eea7344fff44b7e60ab8028f84fed2e /Makefile | |
parent | 092dd1c30681f0ec6b218d5abb5ac2e64f5c2a8f (diff) |
fix unlimit datasize
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |