Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Molinaro
tap_schema_manager
Commits
644b2ade
Commit
644b2ade
authored
Mar 11, 2021
by
Sonia Zorba
Browse files
Installer build improvements
parent
26184ca4
Changes
2
Hide whitespace changes
Inline
Side-by-side
build.sh
View file @
644b2ade
...
...
@@ -133,6 +133,8 @@ function build_installer_package {
rm
tasman-webapp.war
rm
tasman-embedded.jar
cp
install_template.sh install.sh
config_dir
=
$(
cat
config.properties |
grep
config_directory |
cut
-d
"="
-f2
| xargs
)
sed
-i
"s/__CONFIG_DIR__/
${
config_dir
//\//\\/
}
/g"
install.sh
cat
tasman.tar.gz
>>
install.sh
rm
tasman.tar.gz
echo
"TASMAN install.sh built"
...
...
install_template.sh
View file @
644b2ade
...
...
@@ -73,10 +73,10 @@ if [[ -z "$ucd_service_url" ]]; then
fi
# TASMAN configuration directory
echo
-e
"Specify TASMAN configuration directory [
/etc/tasman
]:
\c
"
echo
-e
"Specify TASMAN configuration directory [
__CONFIG_DIR__
]:
\c
"
read
tasman_config_dir
if
[[
-z
"
$tasman_config_dir
"
]]
;
then
tasman_config_dir
=
"
/etc/tasman
"
tasman_config_dir
=
"
__CONFIG_DIR__
"
fi
mkdir
-p
"
$tasman_config_dir
"
if
[
!
$?
-eq
0
]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment