Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab-profile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hotwheels
gitlab-profile
Commits
daaf1043
Commit
daaf1043
authored
5 months ago
by
Antonio Ragagnin
Browse files
Options
Downloads
Patches
Plain Diff
fix cloneall
parent
988d6e2d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cloneall.bash
+8
-8
8 additions, 8 deletions
cloneall.bash
with
8 additions
and
8 deletions
cloneall.bash
+
8
−
8
View file @
daaf1043
...
...
@@ -3,7 +3,8 @@ set -vex
REPOS
=(
${
REPOS
:
=gitlab-profile core io integrate octree domain PM
}
)
:
${
SESSION_NAME
:
=hw
}
:
${
HW_BUILD
=
$PWD
/build/
}
:
${
HW_DATA
=
$PWD
/build/
}
while
getopts
"cptlr:"
opt
do
...
...
@@ -21,18 +22,17 @@ if [ -z "$clona" ] && [ -z "$pyinsta" ] && [ -z "$tmuxa" ] && [ -z "$linka" ];th
exit
1
fi
for
REPO
in
"
${
REPOS
[@]
}
"
;
do
echo
[
$REPO
]
done
#exit 0
if
[
!
-z
"
$clona
"
]
;
then
if
[[
!
-f
.env
]]
;
then
echo
"export HW_BUILD=
$HW_BUILD
"
>
.env
echo
"export HW_DATA=
$HW_DATA
"
>>
.env
echo
"export DEBUG=1"
>>
.env
fi
.
.env
[[
!
-d
"venv"
]]
&&
python3
-mvenv
venv
.
venv/bin/activate
pip
install
autopep8
pip
install
matplotlib
touch
.env
for
REPO
in
"
${
REPOS
[@]
}
"
;
do
[[
!
-d
"
$REPO
"
]]
&&
git clone ssh://git@git.ia2.inaf.it/hotwheels/
$REPO
.git
...
...
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