Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Accelerator Wrapper Tech
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SoCLabs
Accelerator Wrapper Tech
Commits
5b9023da
Commit
5b9023da
authored
2 years ago
by
dam1n19
Browse files
Options
Downloads
Patches
Plain Diff
SOC1-124
: Updated flow to work with bash
parent
acd55cd7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
set_env.sh
+1
-1
1 addition, 1 deletion
set_env.sh
sourceme
+1
-1
1 addition, 1 deletion
sourceme
with
2 additions
and
2 deletions
set_env.sh
+
1
−
1
View file @
5b9023da
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
sourceme
+
1
−
1
View file @
5b9023da
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment