From 41d5d61a16491c20232491a51305aad8898d8574 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 31 Jan 2019 14:27:36 +0100 Subject: [PATCH] Removed non-compatible code (eg AIX) --- include/functions | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/functions b/include/functions index f94b0811..f37f5f38 100644 --- a/include/functions +++ b/include/functions @@ -496,11 +496,11 @@ INDENT=$1 ;; --result) - shift $(( $# > 0 ? 1 : 0 )) + shift RESULT=$1 ;; --text) - shift $(( $# > 0 ? 1 : 0 )) + shift TEXT=$1 ;; *) @@ -509,7 +509,7 @@ ;; esac # Go to next parameter - shift $(( $# > 0 ? 1 : 0 )) + shift done if [ -z "${RESULT}" ]; then