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
753ccead
Commit
753ccead
authored
Mar 20, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: add support for options (apply to all applications)
parent
04419ee5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
epm-play
bin/epm-play
+17
-1
No files found.
bin/epm-play
View file @
753ccead
...
@@ -300,7 +300,23 @@ __epm_play_install()
...
@@ -300,7 +300,23 @@ __epm_play_install()
update_repo_if_needed
update_repo_if_needed
# get all options
options
=
''
for
i
in
$*
;
do
case
"
$i
"
in
--
*
)
options
=
"
$options
$i
"
;;
esac
done
while
[
-n
"
$1
"
]
;
do
while
[
-n
"
$1
"
]
;
do
case
"
$1
"
in
--
*
)
shift
continue
;;
esac
local
p
=
"
$1
"
local
p
=
"
$1
"
local
v
=
''
local
v
=
''
n
=
"
$(
echo
$2
)
"
n
=
"
$(
echo
$2
)
"
...
@@ -310,7 +326,7 @@ __epm_play_install()
...
@@ -310,7 +326,7 @@ __epm_play_install()
else
else
shift
shift
fi
fi
__epm_play_install_one
$p
$v
||
RES
=
1
__epm_play_install_one
$p
$v
$options
||
RES
=
1
done
done
return
$RES
return
$RES
...
...
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