summaryrefslogtreecommitdiff
path: root/symlink-tree
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-09 16:06:19 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-09 16:06:19 +0000
commit2adfe2a9e8b9ca6500ca88a3f5cac13f36c739ed (patch)
tree6aac41a8d1f6462852b297dd8428a08a1ecb1f72 /symlink-tree
parent79f218a99fb0780ffe38a461b600b9d8caf77d79 (diff)
downloadgcc-2adfe2a9e8b9ca6500ca88a3f5cac13f36c739ed.tar.gz
* Makefile.in: handle DOS-style absolute paths.
* config-ml.in: likewise. * symlink-tree: likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38154 138bc75d-0d04-0410-961f-82ee72b054a4
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 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