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
Иван Мажукин
eepm
Commits
c47cbb78
Commit
c47cbb78
authored
Sep 21, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm pack: allow extra args
parent
413f0602
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
epm-pack
bin/epm-pack
+4
-2
No files found.
bin/epm-pack
View file @
c47cbb78
...
...
@@ -31,6 +31,7 @@ __epm_pack_run_handler()
local
tarname
=
"
$2
"
local
packversion
=
"
$3
"
local
url
=
"
$4
"
shift
4
returntarname
=
''
local
repackcode
=
"
$EPM_PACK_SCRIPTS_DIR
/
$packname
.sh"
...
...
@@ -45,7 +46,7 @@ __epm_pack_run_handler()
[
-n
"
$debug
"
]
&&
bashopt
=
'-x'
#info "Running $($script --description 2>/dev/null) ..."
# TODO: add url info here
(
unset
BASH_ENV
;
unset
EPMCURDIR
;
export
PATH
=
$SCPATH
;
export
HOME
=
$(
pwd
)
;
docmd
$CMDSHELL
$bashopt
$repackcode
"
$tarname
"
"
$filefortarname
"
"
$packversion
"
"
$url
"
)
||
fatal
(
unset
BASH_ENV
;
unset
EPMCURDIR
;
export
PATH
=
$SCPATH
;
export
HOME
=
$(
pwd
)
;
docmd
$CMDSHELL
$bashopt
$repackcode
"
$tarname
"
"
$filefortarname
"
"
$packversion
"
"
$url
"
"
$@
"
)
||
fatal
returntarname
=
"
$(
cat
"
$filefortarname
"
)
"
||
fatal
'pack script $repackcode didn'
\'
't set tarname'
local
i
...
...
@@ -177,6 +178,7 @@ esac
local
tarname
=
"
$2
"
local
packversion
=
"
$3
"
local
url
=
''
shift
3
[
-n
"
$packname
"
]
||
__epm_pack_list
...
...
@@ -202,6 +204,6 @@ esac
fi
cd
$tmpdir
||
fatal
__epm_pack
"
$packname
"
"
$tarname
"
"
$packversion
"
"
$url
"
__epm_pack
"
$packname
"
"
$tarname
"
"
$packversion
"
"
$url
"
"
$@
"
}
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