| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the use of the [[ keyword in favour of the POSIX test command
(SC3010).
Don't hard-code pathnames to external programs and define silly
variables such as TMPWATCH. Instead, define a sane PATH at the beginning
of the script.
Don't force the user to reason with whether certain variables need to be
set or not. Instead, call out to portageq in the samples. Further, check
the exit status of portageq, rather than blindly assume that it always
succeeds. As a result, there are no more hard-coded paths, other than
/tmp.
Use pgrep in a less sloppy way.
Query PORT_LOGDIR if the query for PORTAGE_LOGDIR fails.
Closes: https://bugs.gentoo.org/524698
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
This reverts commit ce830c8d6fc7869fd559d36c71cf3b8af3b4fd80.
Forgot to set git author when massaging git to apply the patch.
Bug: https://bugs.gentoo.org/524698
Signed-off-by: Sam James <sam@gentoo.org>
|
|
Remove the use of the [[ keyword in favour of the POSIX test command
(SC3010).
Don't hard-code pathnames to external programs and define silly
variables such as TMPWATCH. Instead, define a sane PATH at the beginning
of the script.
Don't force the user to reason with whether certain variables need to be
set or not. Instead, call out to portageq in the samples. Further, check
the exit status of portageq, rather than blindly assume that it always
succeeds. As a result, there are no more hard-coded paths, other than
/tmp.
Use pgrep in a less sloppy way.
Query PORT_LOGDIR if the query for PORTAGE_LOGDIR fails.
Closes: https://bugs.gentoo.org/524698
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
|