aboutsummaryrefslogtreecommitdiff
path: root/symlink-tree
diff options
context:
space:
mode:
authorLaurynas Biveinis <lauras@softhome.net>2000-12-09 16:06:19 +0000
committerDJ Delorie <dj@gcc.gnu.org>2000-12-09 11:06:19 -0500
commitfc26516b4f259936930472b250fa6a2a11b43c56 (patch)
tree6aac41a8d1f6462852b297dd8428a08a1ecb1f72 /symlink-tree
parent6a52a2ef4bf6cd42c34f17ff25dda75a99ca765a (diff)
downloadgcc-fc26516b4f259936930472b250fa6a2a11b43c56.zip
gcc-fc26516b4f259936930472b250fa6a2a11b43c56.tar.gz
gcc-fc26516b4f259936930472b250fa6a2a11b43c56.tar.bz2
Makefile.in: handle DOS-style absolute paths.
* Makefile.in: handle DOS-style absolute paths. * config-ml.in: likewise. * symlink-tree: likewise. From-SVN: r38154
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 8f11c08..5b18cab 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