Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-12-05 13:07:09 +0300
committerNick Clifton <nickc@redhat.com>2001-12-05 13:07:09 +0300
commitb8ed088fac25d5f916fe2dab3978ef5fd33f4529 (patch)
tree090e39125b40ede86d5af6059a11910304fef824 /symlink-tree
parentd653df0d95f750ed5f5a5dca2c84031d384760a1 (diff)
gcc adopts symlink-tree, refer more to libiberty.
symlink-tree: handle DOS-style absolute paths.
Diffstat (limited to 'symlink-tree')
-rwxr-xr-xsymlink-tree4
1 files changed, 2 insertions, 2 deletions
diff --git a/symlink-tree b/symlink-tree
index 8f11c0879..5b18cab92 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