Skip to content
Snippets Groups Projects
Commit 5b9023da authored by dam1n19's avatar dam1n19
Browse files

SOC1-124: Updated flow to work with bash

parent acd55cd7
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 ACC_WRAPPER_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
export ACC_WRAPPER_DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]:-${(%):-%x}}")" && pwd)"
# If this Repo is root of workspace
if [ $ACC_WRAPPER_DIR = $DESIGN_ROOT ]; then
......
......@@ -13,7 +13,7 @@
if [ -z "$ACC_WRAPPER_DIR" ]; then
# Set environment Variables for Repository
export ACC_WRAPPER_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
export ACC_WRAPPER_DIR="$(cd -P "$(dirname "${BASH_SOURCE[0]:-${(%):-%x}}")" && pwd)"
if [ -z "$SOC_ENV_SET" ]; then
# Add flow directory to Path
......
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