projects
/
debian
/
amanda
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 3.1.0
[debian/amanda]
/
config
/
ylwrap
diff --git
a/config/ylwrap
b/config/ylwrap
index 102bd893f76177cb801fb4968452265e324b7ae2..7278b6a357313bf7dded6fd121757f976242e825 100755
(executable)
--- a/
config/ylwrap
+++ b/
config/ylwrap
@@
-1,10
+1,10
@@
#! /bin/sh
# ylwrap - wrapper for lex/yacc invocations.
#! /bin/sh
# ylwrap - wrapper for lex/yacc invocations.
-scriptversion=200
5-05-14
.22
+scriptversion=200
7-11-22
.22
-# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005
,
+#
2007
Free Software Foundation, Inc.
#
# Written by Tom Tromey <tromey@cygnus.com>.
#
#
# Written by Tom Tromey <tromey@cygnus.com>.
#
@@
-101,14
+101,14
@@
esac
# FIXME: add hostname here for parallel makes that run commands on
# other machines. But that might take us over the 14-char limit.
dirname=ylwrap$$
# FIXME: add hostname here for parallel makes that run commands on
# other machines. But that might take us over the 14-char limit.
dirname=ylwrap$$
-trap "cd
`pwd`
; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
+trap "cd
'`pwd`'
; rm -rf $dirname > /dev/null 2>&1" 1 2 3 15
mkdir $dirname || exit 1
cd $dirname
case $# in
mkdir $dirname || exit 1
cd $dirname
case $# in
- 0)
$prog
"$input" ;;
- *)
$prog
"$@" "$input" ;;
+ 0)
"$prog"
"$input" ;;
+ *)
"$prog"
"$@" "$input" ;;
esac
ret=$?
esac
ret=$?