import try_repeat-0.2.0

try_repeat tries to run a command n times, exiting early if the command exits
with a non-zero exit code. This is useful when trying to find intermittent
failures in a command.

port from Laurence Tratt (laurie [at] tratt [dot] net); thanks!
ok edd@
This commit is contained in:
op
2023-02-07 10:30:42 +00:00
parent 6ed5f86630
commit 1b5f3c5e70
4 changed files with 27 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
COMMENT = run a command 'n' times exiting early if it fails
DISTNAME = try_repeat-0.2.0
CATEGORIES = sysutils
HOMEPAGE = https://tratt.net/laurie/src/try_repeat/
MAINTAINER = Laurence Tratt <laurie@tratt.net>
# Apache-2.0 / MIT
PERMIT_PACKAGE = Yes
MASTER_SITES = ${HOMEPAGE:=releases/}
EXTRACT_SUFX = .tgz
PKG_ARCH = *
NO_BUILD = Yes
.include <bsd.port.mk>
+2
View File
@@ -0,0 +1,2 @@
SHA256 (try_repeat-0.2.0.tgz) = 6YfA87AwehFtdB9w/RBjOpHMRRtyaxIg9WAlaE2bOLU=
SIZE (try_repeat-0.2.0.tgz) = 2966
+3
View File
@@ -0,0 +1,3 @@
try_repeat tries to run a command n times, exiting early if the command exits
with a non-zero exit code. This is useful when trying to find intermittent
failures in a command.
+2
View File
@@ -0,0 +1,2 @@
bin/try_repeat
@man man/man1/try_repeat.1