diff options
author | Tim Potter <tpot@samba.org> | 2001-08-01 01:20:10 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-08-01 01:20:10 +0000 |
commit | edc22874ad1b856a880c2ad6fb34ee3600f8dd5e (patch) | |
tree | 163e36471b637eeb21eb0efe11ee8a6469cc86f2 /packaging/bin | |
parent | 08ab0a2a3efdbb8e6adbcf1589848146350240a9 (diff) | |
download | samba-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-x | packaging/bin/update-pkginfo | 5 |
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 |