/[pcsclite]/tags/ccid/rel-1.3.3/build/ylwrap
ViewVC logotype

Diff of /tags/ccid/rel-1.3.3/build/ylwrap

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2799 by rousseau, Wed Feb 6 14:25:10 2008 UTC revision 2800 by rousseau, Wed Feb 6 15:45:45 2008 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # ylwrap - wrapper for lex/yacc invocations.  # ylwrap - wrapper for lex/yacc invocations.
3    
4  scriptversion=2005-05-14.22  scriptversion=2007-11-22.22
5    
6  # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005  # Copyright (C) 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
7  #   Free Software Foundation, Inc.  # 2007  Free Software Foundation, Inc.
8  #  #
9  # Written by Tom Tromey <tromey@cygnus.com>.  # Written by Tom Tromey <tromey@cygnus.com>.
10  #  #
# Line 101  esac Line 101  esac
101  # FIXME: add hostname here for parallel makes that run commands on  # FIXME: add hostname here for parallel makes that run commands on
102  # other machines.  But that might take us over the 14-char limit.  # other machines.  But that might take us over the 14-char limit.
103  dirname=ylwrap$$  dirname=ylwrap$$
104  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
105  mkdir $dirname || exit 1  mkdir $dirname || exit 1
106    
107  cd $dirname  cd $dirname
108    
109  case $# in  case $# in
110    0) $prog "$input" ;;    0) "$prog" "$input" ;;
111    *) $prog "$@" "$input" ;;    *) "$prog" "$@" "$input" ;;
112  esac  esac
113  ret=$?  ret=$?
114    

Legend:
Removed from v.2799  
changed lines
  Added in v.2800

  ViewVC Help
Powered by ViewVC 1.1.5