Commit 05e1739f by Gerald Pfeifer Committed by Gerald Pfeifer

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
parent 193a94fa
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) Sun Nov 28 00:41:44 1999 William Bader (william@nscs.fast.net)
* gcc_update: Allow patches compressed by bzip2. * gcc_update: Allow patches compressed by bzip2.
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
# Usage: newcvsroot <newroot> <modulename> <toplevel directory> # Usage: newcvsroot <newroot> <modulename> <toplevel directory>
if [ $# != 3 ]; then
echo "usage: `basename $0` <newroot> <modulename> <toplevel directory>"
exit 1
fi
root=$1; shift root=$1; shift
module=$1; shift module=$1; shift
topdir=$1; shift topdir=$1; shift
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment