newcvsroot: Add check on the number of command-line arguments.
* newcvsroot: Add check on the number of command-line arguments. Add usage. From-SVN: r31012
This commit is contained in:
parent
193a94fa39
commit
05e1739fcf
@ -1,3 +1,8 @@
|
||||
1999-12-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
|
||||
|
||||
* newcvsroot: Add check on the number of command-line arguments.
|
||||
Add usage.
|
||||
|
||||
Sun Nov 28 00:41:44 1999 William Bader (william@nscs.fast.net)
|
||||
|
||||
* gcc_update: Allow patches compressed by bzip2.
|
||||
|
@ -6,6 +6,11 @@
|
||||
|
||||
# Usage: newcvsroot <newroot> <modulename> <toplevel directory>
|
||||
|
||||
if [ $# != 3 ]; then
|
||||
echo "usage: `basename $0` <newroot> <modulename> <toplevel directory>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
root=$1; shift
|
||||
module=$1; shift
|
||||
topdir=$1; shift
|
||||
|
Loading…
Reference in New Issue
Block a user