summaryrefslogtreecommitdiff
path: root/packages/scripts/pkg-dtail-openbsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/scripts/pkg-dtail-openbsd.sh')
-rwxr-xr-xpackages/scripts/pkg-dtail-openbsd.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/scripts/pkg-dtail-openbsd.sh b/packages/scripts/pkg-dtail-openbsd.sh
index 1206927..d193787 100755
--- a/packages/scripts/pkg-dtail-openbsd.sh
+++ b/packages/scripts/pkg-dtail-openbsd.sh
@@ -9,6 +9,10 @@
set -e
VERSION="$1"
+if [ -z "$VERSION" ]; then
+ echo "Error: version argument missing (would build dtail-.tgz)" >&2
+ exit 1
+fi
NAME="dtail"
COMMENT="Distributed log tail and grep tool"
DESC="DTail is a distributed DevOps tool for tailing, grepping, catting, and