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 | cffaa28118e0b3f052508eb542c6bc344fe464a0 (patch) | |
tree | 18f05add8645a55bad80e8acbe94fd69b29a6978 /symlink-tree | |
parent | f7b9e9fc0774896deeb660f59fd3cf1119553561 (diff) | |
download | gdb-cffaa28118e0b3f052508eb542c6bc344fe464a0.zip gdb-cffaa28118e0b3f052508eb542c6bc344fe464a0.tar.gz gdb-cffaa28118e0b3f052508eb542c6bc344fe464a0.tar.bz2 |
* symlink-tree: Check number of arguments.
Diffstat (limited to 'symlink-tree')
-rwxr-xr-x | symlink-tree | 5 |
1 files changed, 5 insertions, 0 deletions
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 |