summaryrefslogtreecommitdiff
path: root/packaging/bin
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-01 01:20:10 +0000
committerTim Potter <tpot@samba.org>2001-08-01 01:20:10 +0000
commitedc22874ad1b856a880c2ad6fb34ee3600f8dd5e (patch)
tree163e36471b637eeb21eb0efe11ee8a6469cc86f2 /packaging/bin
parent08ab0a2a3efdbb8e6adbcf1589848146350240a9 (diff)
downloadsamba-edc22874ad1b856a880c2ad6fb34ee3600f8dd5e.tar.gz
samba-edc22874ad1b856a880c2ad6fb34ee3600f8dd5e.tar.bz2
samba-edc22874ad1b856a880c2ad6fb34ee3600f8dd5e.zip
Added some command line argument checking and usage info.
(This used to be commit a13eedf8bdefacfb569eb006d8c169247272ecf6)
Diffstat (limited to 'packaging/bin')
-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