Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
csbase-dev
sgarest-daemon
Commits
32ef0d8d
Commit
32ef0d8d
authored
5 years ago
by
Carla Goncalves Ourofino
Browse files
Options
Download
Patches
Plain Diff
Indentação.
[SOMA-3827][SOMA-4070]
parent
a099a789
master
maia/4208/FixInvalidPropTestInCiCd
maia/9022/SgaCygwinInstall
maia/9564/DisableKubernetesDeploy
newfeature/SOMA-3699_IdentificarVersaoSGA
newfeature/SOMA-4444_AddSgaToK8s
1.7.9
1.7.8
1.7.7
1.7.6
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sgad.sh
+11
-11
sgad.sh
with
11 additions
and
11 deletions
+11
-11
sgad.sh
+
11
−
11
View file @
32ef0d8d
...
...
@@ -17,17 +17,17 @@ runtimesandboxdir="${sgadruntimedir}/sandbox"
POSITIONAL
=
""
# String para salvar argumentos passados ao comando
while
[
$#
-gt
0
]
# Percorre todos argumentos
do
case
"
$1
"
in
--sga-name
)
sga_name
=
$2
shift
shift
;;
*
)
POSITIONAL
=
"
${
POSITIONAL
}
$1
"
shift
;;
esac
case
"
$1
"
in
--sga-name
)
sga_name
=
$2
shift
shift
;;
*
)
POSITIONAL
=
"
${
POSITIONAL
}
$1
"
shift
;;
esac
done
set
--
"
${
POSITIONAL
}
"
# Reseta a posição do $N que foi shiftada
config_file
=
$1
# Como shiftamos todos os argumentos para a direita, nosso $1 sempre vai ser o argumento config_file, se ele existir
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets