Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_gesso
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
WCMS
uw_wcms_gesso
Commits
61ee2df2
Commit
61ee2df2
authored
3 years ago
by
Igor Biki
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-4861 Adding environment option to build_gesso script.
parent
e458fd65
No related branches found
No related tags found
2 merge requests
!63
Tag 3.0.1
,
!60
ISTWCMS-4861: fixing symlink for d4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build_gesso.sh
+6
-5
6 additions, 5 deletions
build_gesso.sh
with
6 additions
and
5 deletions
build_gesso.sh
+
6
−
5
View file @
61ee2df2
build_option
=
${
1
:-
1
}
env_option
=
${
1
:-
1
}
HTML_PATH
=
${
2
:-
"/var/www/html"
}
build_option
=
${
2
:-
1
}
DRUPAL_PATH
=
${
3
:-
/var/www/drupal8
}
HTML_PATH
=
${
3
:-
"/var/www/html"
}
DRUPAL_PATH
=
${
4
:-
/var/www/drupal8
}
gesso_version
=
"8.x-3.2-uw_wcms1"
gesso_version
=
"8.x-3.2-uw_wcms1"
if
[[
-L
"
$HTML_PATH
/uw_wcms_gesso"
]]
;
then
if
[[
-L
"
$HTML_PATH
/uw_wcms_gesso"
]]
;
then
...
@@ -92,9 +93,9 @@ if [[ $build_option == 1 || $build_option == 3 ]]; then
...
@@ -92,9 +93,9 @@ if [[ $build_option == 1 || $build_option == 3 ]]; then
echo
"**************************************************************************************"
echo
"**************************************************************************************"
echo
"Creating symlink for gesso ..."
echo
"Creating symlink for gesso ..."
cd
$HTML_PATH
cd
$HTML_PATH
if
[[
$
build
_option
==
1
]]
;
then
if
[[
$
env
_option
==
1
]]
;
then
ln
-s
"
$DRUPAL_PATH
"
/web/profiles/uw_base_profile/modules/custom/uw_wcms_gesso uw_wcms_gesso
ln
-s
"
$DRUPAL_PATH
"
/web/profiles/uw_base_profile/modules/custom/uw_wcms_gesso uw_wcms_gesso
elif
[[
$
build
_option
==
2
]]
;
then
elif
[[
$
env
_option
==
2
]]
;
then
cd
/var/www/html/web
cd
/var/www/html/web
ln
-s
./profiles/uw_base_profile/modules/custom/uw_wcms_gesso uw_wcms_gesso
ln
-s
./profiles/uw_base_profile/modules/custom/uw_wcms_gesso uw_wcms_gesso
cd
-
cd
-
...
...
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