use ${BASH_SOURCE[0]} to instead of basename($0)

Signed-off-by: kangliang.zkl <kangliang.zkl@alibaba-inc.com>