Mercurial > hg > xemacs-beta
diff lib-src/gnudoit @ 155:43dd3413c7c7 r20-3b4
Import from CVS: tag r20-3b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:39:39 +0200 |
parents | |
children | 90d73dddcdc4 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib-src/gnudoit Mon Aug 13 09:39:39 2007 +0200 @@ -0,0 +1,36 @@ +#! /bin/sh + +# This file is part of XEmacs. + +# Copyright (C) 1997 Free Software Foundation, Inc. + +# XEmacs is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2, or (at your option) any +# later version. + +# XEmacs is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +# for more details. + +# You should have received a copy of the GNU General Public License +# along with XEmacs; see the file COPYING. If not, write to +# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +if [ x"$1" = x-q ] +then + quick=-q + shift +fi + +if [ $# -eq 0 ] +then + echo "$0: arguments expected" >&2 + exit 1 +fi + +# I use "$*" instead of "$@" intentionally -- I don't want to have the +# arguments split. +exec gnuclient $quick -batch -eval "$*"