view etc/editclient.sh @ 1447:a939d086aa0f

[xemacs-hg @ 2003-05-02 22:51:04 by youngs] 2003-05-03 Steve Youngs <youngs@xemacs.org> * package-admin.el (package-admin-find-top-directory): You can't concat a string & a char, so convert 'directory-sep-char' to a string.
author youngs
date Fri, 02 May 2003 22:51:04 +0000
parents 3ecd8885ac67
children
line wrap: on
line source

#!/bin/sh
if gnuclient -batch -eval t >/dev/null 2>&1; then
  exec gnuclient ${1+"$@"}
else
  xemacs -unmapped -f gnuserv-start &
  until gnuclient -batch -eval t >/dev/null 2>&1
  do
     sleep 1
  done
  exec gnuclient ${1+"$@"}
fi