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
34509877
Commit
34509877
authored
Aug 24, 2021
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-play: pass an additional args to the scripts
parent
473f7a43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
epm-play
bin/epm-play
+6
-4
No files found.
bin/epm-play
View file @
34509877
...
...
@@ -53,7 +53,6 @@ __epm_play_run()
{
local
script
=
"
$psdir
/
$1
.sh"
shift
local
option
=
"
$1
"
if
[
!
-x
"
$script
"
]
;
then
fatal
"Can't find play script
$script
."
...
...
@@ -65,7 +64,7 @@ __epm_play_run()
export
PATH
=
$PROGDIR
:
$PATH
#info "Running $($script --description 2>/dev/null) ..."
docmd
$script
$option
docmd
$script
"
$@
"
}
epm_play
()
...
...
@@ -116,6 +115,9 @@ if [ "$1" = "--list-all" ] || [ -z "$*" ] ; then
exit
fi
#__check_installed_app "$1" && info "$1 is already installed (use --remove to remove)" && exit 1
__epm_play_run
"
$1
"
--run
&&
__save_installed_app
"
$1
"
||
fatal
"There was some error during install the application."
prescription
=
"
$1
"
shift
#__check_installed_app "$prescription" && info "$$prescription is already installed (use --remove to remove)" && exit 1
__epm_play_run
"
$prescription
"
--run
"
$@
"
&&
__save_installed_app
"
$prescription
"
||
fatal
"There was some error during install the application."
}
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