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
1
Merge Requests
1
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
f523b824
Commit
f523b824
authored
2 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-pack: add --verbose support
parent
35b27428
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
epm-pack
bin/epm-pack
+6
-2
No files found.
bin/epm-pack
View file @
f523b824
...
@@ -50,10 +50,14 @@ __epm_pack()
...
@@ -50,10 +50,14 @@ __epm_pack()
tmpdir
=
$(
mktemp
-d
)
tmpdir
=
$(
mktemp
-d
)
filefortarname
=
"
$tmpdir
/filefortarname"
filefortarname
=
"
$tmpdir
/filefortarname"
trap
"rm -rf
$tmpdir
"
EXIT
trap
"rm -rf
$tmpdir
"
EXIT
#TODO: --verbose support
set_sudo
set_sudo
export
SUDO
export
SUDO
$repackcode
"
$tarname
"
"
$filefortarname
"
||
fatal
local
bashopt
=
''
[
-n
"
$verbose
"
]
&&
bashopt
=
'-x'
&&
export
EPM_VERBOSE
=
"
$verbose
"
#info "Running $($script --description 2>/dev/null) ..."
docmd bash
$bashopt
$repackcode
"
$tarname
"
"
$filefortarname
"
||
fatal
returntarname
=
"
$(
cat
"
$filefortarname
"
)
"
||
fatal
"pack script
$repackcode
didn't set tarname"
returntarname
=
"
$(
cat
"
$filefortarname
"
)
"
||
fatal
"pack script
$repackcode
didn't set tarname"
if
[
-n
"
$download_only
"
]
;
then
if
[
-n
"
$download_only
"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
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