mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +01:00
Fixed process stderr code
This commit is contained in:
parent
ab026bba19
commit
3e11c2cf95
2 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,9 @@
|
||||||
* [Tracking] Returns the complete list of dependencies of a package
|
* [Tracking] Returns the complete list of dependencies of a package
|
||||||
* Process exit status code message
|
* Process exit status code message
|
||||||
|
|
||||||
|
- Fixed:
|
||||||
|
* Process stderr exit code
|
||||||
|
|
||||||
- Added:
|
- Added:
|
||||||
* pprkut repository
|
* pprkut repository
|
||||||
|
|
||||||
|
|
|
@ -153,7 +153,7 @@ class Utilities(Configs):
|
||||||
def process(self, command: str, stderr=None, stdout=None, filename=None) -> None:
|
def process(self, command: str, stderr=None, stdout=None, filename=None) -> None:
|
||||||
""" Handle the processes. """
|
""" Handle the processes. """
|
||||||
output = tee = ''
|
output = tee = ''
|
||||||
if filename and self.process_log:
|
if filename and filename.endswith('.SlackBuild') and self.process_log:
|
||||||
self.header_process_log(filename)
|
self.header_process_log(filename)
|
||||||
tee: str = (
|
tee: str = (
|
||||||
f' | tee -a {self.slpkg_log_path}/{filename}_'
|
f' | tee -a {self.slpkg_log_path}/{filename}_'
|
||||||
|
|
Loading…
Reference in a new issue