summaryrefslogtreecommitdiffstats
path: root/ylwrap
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-08-22 11:47:16 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2009-08-22 11:47:16 +0000
commit0539cb2c6f944ae4434f4033a12d42eabebf543d (patch)
tree5c33e4ebc8c45d5ec85ad2801289652a0de8cca0 /ylwrap
parentMakefile.in: Add Ada support for GNU/kFreeBSD x86_64. (diff)
downloadgcc-0539cb2c6f944ae4434f4033a12d42eabebf543d.tar.gz
gcc-0539cb2c6f944ae4434f4033a12d42eabebf543d.tar.bz2
gcc-0539cb2c6f944ae4434f4033a12d42eabebf543d.tar.xz
Update automake-provided files in the toplevel.
/: * compile: Sync from Automake 1.11. * depcomp: Likewise. * install-sh: Likewise. * missing: Likewise. * mkinstalldirs: Likewise. * ylwrap: Likewise. From-SVN: r151012
Diffstat (limited to 'ylwrap')
-rwxr-xr-xylwrap19
1 files changed, 9 insertions, 10 deletions
diff --git a/ylwrap b/ylwrap
index 102bd893f76..84d563405e6 100755
--- a/ylwrap
+++ b/ylwrap
@@ -1,10 +1,10 @@
1#! /bin/sh 1#! /bin/sh
2# ylwrap - wrapper for lex/yacc invocations. 2# ylwrap - wrapper for lex/yacc invocations.
3 3
4scriptversion=2005-05-14.22 4scriptversion=2009-04-28.21; # UTC
5 5
6# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005 6# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
7# Free Software Foundation, Inc. 7# 2007, 2009 Free Software Foundation, Inc.
8# 8#
9# Written by Tom Tromey <tromey@cygnus.com>. 9# Written by Tom Tromey <tromey@cygnus.com>.
10# 10#
@@ -19,9 +19,7 @@ scriptversion=2005-05-14.22
19# GNU General Public License for more details. 19# GNU General Public License for more details.
20# 20#
21# You should have received a copy of the GNU General Public License 21# You should have received a copy of the GNU General Public License
22# along with this program; if not, write to the Free Software 22# along with this program. If not, see <http://www.gnu.org/licenses/>.
23# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
24# 02110-1301, USA.
25 23
26# As a special exception to the GNU General Public License, if you 24# As a special exception to the GNU General Public License, if you
27# distribute this file as part of a program that contains a 25# distribute this file as part of a program that contains a
@@ -101,14 +99,14 @@ esac
101# FIXME: add hostname here for parallel makes that run commands on 99# FIXME: add hostname here for parallel makes that run commands on
102# other machines. But that might take us over the 14-char limit. 100# other machines. But that might take us over the 14-char limit.
103dirname=ylwrap$$ 101dirname=ylwrap$$
104trap "cd `pwd`; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15 102trap "cd '`pwd`'; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
105mkdir $dirname || exit 1 103mkdir $dirname || exit 1
106 104
107cd $dirname 105cd $dirname
108 106
109case $# in 107case $# in
110 0) $prog "$input" ;; 108 0) "$prog" "$input" ;;
111 *) $prog "$@" "$input" ;; 109 *) "$prog" "$@" "$input" ;;
112esac 110esac
113ret=$? 111ret=$?
114 112
@@ -219,5 +217,6 @@ exit $ret
219# eval: (add-hook 'write-file-hooks 'time-stamp) 217# eval: (add-hook 'write-file-hooks 'time-stamp)
220# time-stamp-start: "scriptversion=" 218# time-stamp-start: "scriptversion="
221# time-stamp-format: "%:y-%02m-%02d.%02H" 219# time-stamp-format: "%:y-%02m-%02d.%02H"
222# time-stamp-end: "$" 220# time-stamp-time-zone: "UTC"
221# time-stamp-end: "; # UTC"
223# End: 222# End: