diff --git a/bin/cocos b/bin/cocos index 52107d12..faaaa654 100755 --- a/bin/cocos +++ b/bin/cocos @@ -1,4 +1,7 @@ -#!/bin/bash -l +#!/bin/bash +shell=${SHELL} + +#!${shell} -l COCOS_CONSOLE_BIN_DIRECTORY=$(dirname "$0") COCOS_CONSOLE_BIN_DIRECTORY=$(cd "$COCOS_CONSOLE_BIN_DIRECTORY" && pwd -P)