Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vMap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open source
vMap
Commits
53a26943
Commit
53a26943
authored
6 years ago
by
Armand Bahi
Browse files
Options
Downloads
Patches
Plain Diff
Update utils/init_symlinks.sh
parent
cdd6388c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/init_symlinks.sh
+26
-12
26 additions, 12 deletions
utils/init_symlinks.sh
with
26 additions
and
12 deletions
utils/init_symlinks.sh
+
26
−
12
View file @
53a26943
...
...
@@ -97,18 +97,32 @@ if [[ $depsCount > 0 ]]; then
fi
done
file_path
=
"client/conf/properties.json"
declare
-a
existing_files_path
=(
"client/conf/properties.json"
"vas/rest/conf/properties.inc"
"vas/rest/conf/properties_domain.inc"
"vas/rest/conf/properties_post.inc"
"vas/rest/conf/properties_server.inc"
"vas/rest/conf/version.inc"
"vas/rest/.htaccess"
)
for
file_path
in
"
${
existing_files_path
[@]
}
"
;
do
if
[
-f
"
${
APP_EXISTING_PATH
}
/
$file_path
"
]
;
then
echo
"copy
$file_path
"
cp
-f
"
${
APP_EXISTING_PATH
}
/
$file_path
"
"
$(
pwd
)
/
$file_path
"
fi
done
file_path
=
"vas/rest/.htaccess"
if
[
-f
"
${
APP_EXISTING_PATH
}
/
$file_path
"
]
;
then
echo
"copy
$file_path
"
cp
-f
"
${
APP_EXISTING_PATH
}
/
$file_path
"
"
$(
pwd
)
/
$file_path
"
for
properties_dir
in
$(
ls
"
${
APP_EXISTING_PATH
}
/vas/rest/conf"
)
;
do
if
[
-d
"
${
APP_EXISTING_PATH
}
/vas/rest/conf/
${
properties_dir
}
"
]
;
then
if
[
-d
"
$(
pwd
)
/vas/rest/conf/
${
properties_dir
}
"
]
;
then
for
properties_file
in
$(
ls
"
${
APP_EXISTING_PATH
}
/vas/rest/conf/
${
properties_dir
}
"
)
;
do
# if [ ${properties_file:0:10}=="properties" || ${properties_file}=="version.inc" ]; then
if
[[
$properties_file
==
"properties"
*
]]
||
[[
$properties_file
==
"version.inc"
]]
;
then
echo
"copy vas/rest/conf/
${
properties_dir
}
/
${
properties_file
}
"
cp
-f
"
${
APP_EXISTING_PATH
}
/vas/rest/conf/
${
properties_dir
}
/
${
properties_file
}
"
"
$(
pwd
)
/vas/rest/conf/
${
properties_dir
}
/
${
properties_file
}
"
fi
# file_existing_path[2]="vas/rest/conf"
done
fi
fi
done
fi
fi
This diff is collapsed.
Click to expand it.
Armand Bahi
@ArmandBahi
mentioned in commit
81d25f33
·
6 years ago
mentioned in commit
81d25f33
mentioned in commit 81d25f33cad340bc8fd98d2773a654acfd481bb1
Toggle commit list
Armand Bahi
@ArmandBahi
mentioned in commit
fd799438
·
6 years ago
mentioned in commit
fd799438
mentioned in commit fd79943801b0969e7496b7fd5884e036bb1c050d
Toggle commit list
Armand Bahi
@ArmandBahi
mentioned in commit
fd799438
·
6 years ago
mentioned in commit
fd799438
mentioned in commit fd79943801b0969e7496b7fd5884e036bb1c050d
Toggle commit list
Armand Bahi
@ArmandBahi
mentioned in commit
fd799438
·
6 years ago
mentioned in commit
fd799438
mentioned in commit fd79943801b0969e7496b7fd5884e036bb1c050d
Toggle commit list
Armand Bahi
@ArmandBahi
mentioned in commit
e2b03a05
·
6 years ago
mentioned in commit
e2b03a05
mentioned in commit e2b03a05d68ea4c01665f44b113151da91c86e0d
Toggle commit list
Armand Bahi
@ArmandBahi
mentioned in commit
e2b03a05
·
6 years ago
mentioned in commit
e2b03a05
mentioned in commit e2b03a05d68ea4c01665f44b113151da91c86e0d
Toggle commit list
Armand Bahi
@ArmandBahi
mentioned in commit
e2b03a05
·
6 years ago
mentioned in commit
e2b03a05
mentioned in commit e2b03a05d68ea4c01665f44b113151da91c86e0d
Toggle commit list
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