From 9570bd96f49f13760633da4a5e4152a0af61a9ea Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 20 Jun 1999 10:34:24 +0000 Subject: [PATCH] * ylwrap: Be less strict when recognizing DOS paths. From Mark Elbrecht. --- ChangeLog | 5 +++++ THANKS | 1 + lib/ylwrap | 10 +++++----- ylwrap | 10 +++++----- 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index d1ef30fd..b683b177 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-06-20 Tom Tromey + + * ylwrap: Be less strict when recognizing DOS paths. From Mark + Elbrecht. + 1999-06-19 Tom Tromey * automake.in (handle_dist_worker): Remove redundant entries from diff --git a/THANKS b/THANKS index b779a63f..7a90b10d 100644 --- 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 diff --git a/lib/ylwrap b/lib/ylwrap index 13fc38d7..6a9b615d 100755 --- a/lib/ylwrap +++ b/lib/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 . # # 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 13fc38d7..6a9b615d 100755 --- 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 . # # 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=$? -- 2.43.5