From 6450a514732c6c6fb8632244ad7c591c9993d79a Mon Sep 17 00:00:00 2001 From: f1ori Date: Thu, 14 Aug 2008 21:38:05 +0000 Subject: [PATCH] * fixed quoting problem in initscript git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5057 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- addon/yacyInit.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/yacyInit.m4 b/addon/yacyInit.m4 index 05c79875e..d734e73d8 100644 --- a/addon/yacyInit.m4 +++ b/addon/yacyInit.m4 @@ -48,7 +48,7 @@ NICE_VAL=0 JAVA_ARGS="-server -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+UseAdaptiveSizePolicy" #check if system supports large memory pages and enable it if possible -HUGEPAGESTOTAL="`cat /proc/meminfo | grep HugePages_Total | sed s/[^0-9]//g`" +HUGEPAGESTOTAL="$(cat /proc/meminfo | grep HugePages_Total | sed s/[^0-9]//g)" if [ -n "$HUGEPAGESTOTAL" ] && [ $HUGEPAGESTOTAL -ne 0 ] then JAVA_ARGS="$JAVA_ARGS -XX:+UseLargePages"