summaryrefslogtreecommitdiffstats
path: root/pkgup
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-05-23 16:34:24 +0200
committerRemi Collet <remi@php.net>2026-05-23 16:34:24 +0200
commitda367d4bbda156b1e56207b520e2a1f3bc1e73a8 (patch)
tree9810efc55aa1f323d92d7745bc1bbb09c9820da8 /pkgup
parent2c7154be1734cbe3f89f1291b96471b8ab3bf800 (diff)
Redis 8.8 helpersHEADmaster
Diffstat (limited to 'pkgup')
-rwxr-xr-xpkgup4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgup b/pkgup
index f939d1f..f8f1181 100755
--- a/pkgup
+++ b/pkgup
@@ -5,8 +5,8 @@ rpmdate=$(LC_ALL="C" date +"%a %b %d %Y")
rpmdate=${rpmdate/ 0/ }
name=$(basename $PWD)
-if [ $# -lt 2 ]; then
- echo "usage $0 version commit [ date [ spec ]]"
+if [ $# -lt 1 ]; then
+ echo "usage $0 version [commit [ date [ spec ]]]"
exit 1
fi
if [ x$3 = x ]; then