From 20477484e5df9b23e3e78873e8a5dfaa7b97bdbf Mon Sep 17 00:00:00 2001 From: "Alvaro [Andor]" Date: Wed, 16 Dec 2015 15:12:54 +0100 Subject: [PATCH] Change shell interpreter to bash The double bracket test ( [[ ]] ) is bash only (and maybe zsh and ksh), but not sh/dash, so if /bin/sh is marked on the shell script as interpreter, the test will with a: './launch-umongo.sh: 2: ./launch-umongo.sh: [[: not found' --- package/linux/launch-umongo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/linux/launch-umongo.sh b/package/linux/launch-umongo.sh index 3a5b456..c4ee045 100755 --- a/package/linux/launch-umongo.sh +++ b/package/linux/launch-umongo.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash if [[ -L $0 ]]; then dir="$(dirname "$(readlink -f "$0")")" else