Elbrecht.
+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
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
#! /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
shift
# Make any relative path in $prog absolute.
case "$prog" in
- /* | [A-Za-z]:\\*) ;;
+ /* | [A-Za-z]:*) ;;
*/*) prog="`pwd`/$prog" ;;
esac
input="$1"
shift
case "$input" in
- /* | [A-Za-z]:\\*)
+ /* | [A-Za-z]:*)
# Absolute path; do nothing.
;;
*)
cd $dirname
case "$input" in
- /* | [A-Za-z]:\\*)
+ /* | [A-Za-z]:*)
# Absolute path; do nothing.
;;
*)
# 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=$?
#! /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
shift
# Make any relative path in $prog absolute.
case "$prog" in
- /* | [A-Za-z]:\\*) ;;
+ /* | [A-Za-z]:*) ;;
*/*) prog="`pwd`/$prog" ;;
esac
input="$1"
shift
case "$input" in
- /* | [A-Za-z]:\\*)
+ /* | [A-Za-z]:*)
# Absolute path; do nothing.
;;
*)
cd $dirname
case "$input" in
- /* | [A-Za-z]:\\*)
+ /* | [A-Za-z]:*)
# Absolute path; do nothing.
;;
*)
# 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=$?