summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/symlink-tree
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/symlink-tree')
-rwxr-xr-xcontrib/binutils/symlink-tree4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/binutils/symlink-tree b/contrib/binutils/symlink-tree
index 8f11c08..5b18cab 100755
--- a/contrib/binutils/symlink-tree
+++ b/contrib/binutils/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
OpenPOWER on IntegriCloud