From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Pont Date: Thu, 06 Dec 2018 14:44:17 +0000 Subject: [U-Boot] [PATCH] Enable expression support for CONFIG_BOARD_SIZE_LIMIT In-Reply-To: References: <20181204154035.16299-1-wd@denx.de> <20181205095202.027A5242268@gemini.denx.de> <20181206142315.53AF6242268@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de Fabio wrote... >$ /bin/sh --version >/bin/sh: 0: Illegal option -- > >In my system /bin/sh points to bash: >$ ls -al /bin/sh >lrwxrwxrwx 1 root root 4 mai 2 2018 /bin/sh -> dash Just to pick up on the obvious… /bin/sh is showing as linked to dash not bash! Using (( … )) for arithmetic expansion is a bashism [1] [1] https://wiki.ubuntu.com/DashAsBinSh -Andy.