Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
81641e8b
Commit
81641e8b
authored
May 13, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: don't export SUDO to play.d script, don't export EPM_AUTO and set auto for it
parent
7b225cb2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
9 deletions
+4
-9
epm-play
bin/epm-play
+2
-8
common.sh
play.d/common.sh
+1
-0
mssql-server.sh
play.d/mssql-server.sh
+1
-1
No files found.
bin/epm-play
View file @
81641e8b
...
...
@@ -146,14 +146,8 @@ __epm_play_run()
local
script
=
"
$psdir
/
$1
.sh"
shift
set_sudo
export
SUDO
# keep EPM_AUTO for non epm code (epm uses EPM_OPTIONS now)
[
-n
"
$non_interactive
"
]
&&
export
EPM_AUTO
=
"--auto"
export
EPM_OPTIONS
=
"
$EPM_OPTIONS
$dryrun
"
local
addopt
addopt
=
"
$dryrun
$non_interactive
"
local
bashopt
=
''
[
-n
"
$verbose
"
]
&&
bashopt
=
'-x'
...
...
play.d/common.sh
View file @
81641e8b
...
...
@@ -2,6 +2,7 @@
# kind of hack: inheritance --force from main epm
echo
"
$EPM_OPTIONS
"
|
grep
-q
--
"--force"
&&
force
=
"--force"
echo
"
$EPM_OPTIONS
"
|
grep
-q
--
"--auto"
&&
auto
=
"--auto"
fatal
()
{
...
...
play.d/mssql-server.sh
View file @
81641e8b
...
...
@@ -40,7 +40,7 @@ case "$(epm print info -d)" in
;;
esac
if
[
-z
"
$
EPM_AUTO
"
]
;
then
if
[
-z
"
$
auto
"
]
;
then
esu /opt/mssql/bin/mssql-conf setup accept-eula
serv mssql-server on
else
...
...
Write
Preview
Markdown
is supported
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