diff options
author | Jeff Law <law@redhat.com> | 2000-07-07 13:21:39 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2000-07-07 13:21:39 +0000 |
commit | 77fcb25859f17680c4acd09cf2118cf06492b00b (patch) | |
tree | ddc77692f1e5f96db4d2703194f791402f2e0c85 | |
parent | 52cec10c67d2c8615d7e15f36d93a7079da81f9f (diff) | |
download | newlib-77fcb25859f17680c4acd09cf2118cf06492b00b.zip newlib-77fcb25859f17680c4acd09cf2118cf06492b00b.tar.gz newlib-77fcb25859f17680c4acd09cf2118cf06492b00b.tar.bz2 |
* symlink-tree: Check number of arguments.
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | symlink-tree | 5 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2000-07-07 Phil Edwards <pme@sourceware.cygnus.com> + + * symlink-tree: Check number of arguments. + Thu Jul 6 15:36:55 2000 Andrew Cagney <cagney@b1.cygnus.com> * texinfo/texinfo.tex: Update to version 2000-05-28.15. diff --git a/symlink-tree b/symlink-tree index 096582d..8f11c08 100755 --- a/symlink-tree +++ b/symlink-tree @@ -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 |