* symlink-tree: Check number of arguments.

From-SVN: r34900
This commit is contained in:
Phil Edwards 2000-07-07 13:18:48 +00:00 committed by Jeff Law
parent fba5638f78
commit 3abaac67a1
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
* symlink-tree: Check number of arguments.
2000-07-05 Jim Wilson <wilson@cygnus.com>
* Makefile.in (CXX_FOR_TARGET): Add libstdc++ to the library

View File

@ -10,6 +10,11 @@ prog=$0
srcdir=$1
ignore="$2"
if test $# -lt 1; then
echo "symlink-tree error: Usage: symlink-tree srcdir \"ignore1 ignore2 ...\""
exit 1
fi
ignore_additional=". .. CVS"
# If we were invoked with a relative path name, adjust ${prog} to work