]> sourceware.org Git - automake.git/commitdiff
* ylwrap: Be less strict when recognizing DOS paths. From Mark
authorTom Tromey <tromey@redhat.com>
Sun, 20 Jun 1999 10:34:24 +0000 (10:34 +0000)
committerTom Tromey <tromey@redhat.com>
Sun, 20 Jun 1999 10:34:24 +0000 (10:34 +0000)
Elbrecht.

ChangeLog
THANKS
lib/ylwrap
ylwrap

index d1ef30fdfd52c8b5b397f2399d4ab44ab86c0d45..b683b177bda4f33e29954f9af541da7ae52ce738 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-06-20  Tom Tromey  <tromey@cygnus.com>
+
+       * ylwrap: Be less strict when recognizing DOS paths.  From Mark
+       Elbrecht.
+
 1999-06-19  Tom Tromey  <tromey@cygnus.com>
 
        * automake.in (handle_dist_worker): Remove redundant entries from
diff --git a/THANKS b/THANKS
index b779a63f900b5c7fab68a47bc0927194070cd24b..7a90b10d37c8eba321e176bf3ebadf369da4a04a 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -64,6 +64,7 @@ Maciej W. Rozycki     macro@ds2.pg.gda.pl
 Marcus G. Daniels      mgd@ute.santafe.edu
 Marius Vollmer         mvo@zagadka.ping.de
 Mark Eichin            eichin@cygnus.com
+Mark Elbrecht          snowball3@bigfoot.com
 Mark Galassi           rosalia@nis.lanl.gov
 Markku Rossi           mtr@ngs.fi
 Markus F.X.J. Oberhumer        k3040e4@wildsau.idv-edu.uni-linz.ac.at
index 13fc38d75f2a47bc55e90ad5bf8d8a0184b14878..6a9b615d748c77420b45443756a9634e70ebf8b4 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # ylwrap - wrapper for lex/yacc invocations.
-# Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
 # Written by Tom Tromey <tromey@cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -31,7 +31,7 @@ prog="$1"
 shift
 # Make any relative path in $prog absolute.
 case "$prog" in
- /* | [A-Za-z]:\\*) ;;
+ /* | [A-Za-z]:*) ;;
  */*) prog="`pwd`/$prog" ;;
 esac
 
@@ -39,7 +39,7 @@ esac
 input="$1"
 shift
 case "$input" in
- /* | [A-Za-z]:\\*)
+ /* | [A-Za-z]:*)
     # Absolute path; do nothing.
     ;;
  *)
@@ -75,7 +75,7 @@ mkdir $dirname || exit 1
 
 cd $dirname
 case "$input" in
- /* | [A-Za-z]:\\*)
+ /* | [A-Za-z]:*)
     # Absolute path; do nothing.
     ;;
  *)
@@ -95,7 +95,7 @@ if test $status -eq 0; then
          # If $2 is an absolute path name, then just use that,
          # otherwise prepend `../'.
          case "$2" in
-          /* | [A-Za-z]:\\*) target="$2";;
+          /* | [A-Za-z]:*) target="$2";;
           *) target="../$2";;
         esac
         mv "$1" "$target" || status=$?
diff --git a/ylwrap b/ylwrap
index 13fc38d75f2a47bc55e90ad5bf8d8a0184b14878..6a9b615d748c77420b45443756a9634e70ebf8b4 100755 (executable)
--- a/ylwrap
+++ b/ylwrap
@@ -1,6 +1,6 @@
 #! /bin/sh
 # ylwrap - wrapper for lex/yacc invocations.
-# Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
 # Written by Tom Tromey <tromey@cygnus.com>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -31,7 +31,7 @@ prog="$1"
 shift
 # Make any relative path in $prog absolute.
 case "$prog" in
- /* | [A-Za-z]:\\*) ;;
+ /* | [A-Za-z]:*) ;;
  */*) prog="`pwd`/$prog" ;;
 esac
 
@@ -39,7 +39,7 @@ esac
 input="$1"
 shift
 case "$input" in
- /* | [A-Za-z]:\\*)
+ /* | [A-Za-z]:*)
     # Absolute path; do nothing.
     ;;
  *)
@@ -75,7 +75,7 @@ mkdir $dirname || exit 1
 
 cd $dirname
 case "$input" in
- /* | [A-Za-z]:\\*)
+ /* | [A-Za-z]:*)
     # Absolute path; do nothing.
     ;;
  *)
@@ -95,7 +95,7 @@ if test $status -eq 0; then
          # If $2 is an absolute path name, then just use that,
          # otherwise prepend `../'.
          case "$2" in
-          /* | [A-Za-z]:\\*) target="$2";;
+          /* | [A-Za-z]:*) target="$2";;
           *) target="../$2";;
         esac
         mv "$1" "$target" || status=$?
This page took 0.037595 seconds and 5 git commands to generate.