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
bc608b2f
Commit
bc608b2f
authored
May 27, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: check if /dev/stdin is pipe when check command in stdin
parent
89af1a7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
epm
bin/epm
+1
-1
No files found.
bin/epm
View file @
bc608b2f
...
...
@@ -625,7 +625,7 @@ fi
export
EPM_OPTIONS
=
"
$nodeps
$force
$verbose
$debug
$quiet
$interactive
$non_interactive
$save_only
$download_only
"
# if input is not console and run script from file, get pkgs from stdin too
if
[
!
-n
"
$inscript
"
]
&&
!
inputisatty
&&
[
-n
"
$PROGDIR
"
]
;
then
if
[
!
-n
"
$inscript
"
]
&&
[
-p
/dev/stdin
]
&&
[
"
$EPMMODE
"
!=
"pipe
"
]
;
then
for
opt
in
$(
withtimeout 10
cat
)
;
do
# FIXME: do not work
# workaround against # yes | epme
...
...
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