X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=symlink-tree;h=8f11c0879325bd306969c34cf8db541a0ea4fb0a;hb=496e6bc304fbe38632eb812b844e1e5c7a8263b3;hp=096582db6eb6426e681539e9f55b1a4ca18281f6;hpb=252b5132c753830d5fd56823373aed85f2a0db63;p=binutils-gdb.git diff --git a/symlink-tree b/symlink-tree index 096582db6eb..8f11c087932 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