diff options
author | Nick Clifton <nickc@redhat.com> | 2001-12-05 10:07:09 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-12-05 10:07:09 +0000 |
commit | 7108bedd785cd62236f3c1b2db3ea109a941e4ee (patch) | |
tree | a8b5deeacf1b487c609cd159cd9ab1d76736879f /symlink-tree | |
parent | f4223c287dacbc681d5876e20aec7800936212af (diff) | |
download | gdb-7108bedd785cd62236f3c1b2db3ea109a941e4ee.tar.gz |
gcc adopts symlink-tree, refer more to libiberty.
symlink-tree: handle DOS-style absolute paths.
Diffstat (limited to 'symlink-tree')
-rwxr-xr-x | symlink-tree | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/symlink-tree b/symlink-tree index 8f11c087932..5b18cab9238 100755 --- a/symlink-tree +++ b/symlink-tree @@ -20,13 +20,13 @@ ignore_additional=". .. CVS" # If we were invoked with a relative path name, adjust ${prog} to work # in subdirs. case ${prog} in -/*) ;; +/* | [A-Za-z]:[\\/]*) ;; *) prog=../${prog} ;; esac # Set newsrcdir to something subdirectories can use. case ${srcdir} in -/*) newsrcdir=${srcdir} ;; +/* | [A-Za-z]:[\\/]*) newsrcdir=${srcdir} ;; *) newsrcdir=../${srcdir} ;; esac |