summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/bin/update-pkginfo5
1 files changed, 5 insertions, 0 deletions
diff --git a/packaging/bin/update-pkginfo b/packaging/bin/update-pkginfo
index fab56daebf..8432173cc8 100755
--- a/packaging/bin/update-pkginfo
+++ b/packaging/bin/update-pkginfo
@@ -3,6 +3,11 @@
VERSION=$1
RELEASE=$2
+if [ $# -ne 2 ]; then
+ echo Usage: update-pkginfo VERSION RELEASE
+ exit 1
+fi
+
for f in */*/*.tmpl; do
f2=`echo $f | sed s/.tmpl//g`
echo $f2