Commit cd9fb23c authored by Visay Keo's avatar Visay Keo

[BUGFIX] Shell condition wildcard for Mac

parent 750bd22e
CHANGELOG
=========
3.0.5
-----
- [BUGFIX] Shell condition wildcard for Mac
3.0.4
-----
- [TASK] Add support for Mac
......
......@@ -7,7 +7,7 @@ FILE_NAME=$(basename "$0")
BINARY=`readlink ${ROOT_DIR}/${DIR_NAME}/${FILE_NAME} -f`
BIN_PATH=${BINARY%/*}
if [ "${BIN_PATH}" == "../*" ]; then
if [[ "${BIN_PATH}" == ../* ]]; then
# This is a workaround for mac user to resolve correct link
cd ${ROOT_DIR}/${DIR_NAME}/${BIN_PATH}
BIN_PATH=`pwd`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment