view etc/editclient.sh @ 1506:4d97756f2fbe

[xemacs-hg @ 2003-05-29 17:02:31 by james] Fix the use of GCC function attributes in ellcc.c
author james
date Thu, 29 May 2003 17:02:31 +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