Skip to content
Snippets Groups Projects
Commit 89226d95 authored by dam1n19's avatar dam1n19
Browse files

SOC1-124: Updated flow to work with bash

parent 8c11cd64
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ if [ -z $DESIGN_ROOT ]; then
source $DESIGN_ROOT/set_env.sh
else
# Set Environment Variable for this Repository
export CHIPKIT_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
export CHIPKIT_DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]:-${(%):-%x}}")" && pwd)"
# If this Repo is root of workspace
if [ $CHIPKIT_DIR = $DESIGN_ROOT ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment