view etc/editclient.sh @ 1490:74b2ea269eb5

[xemacs-hg @ 2003-05-20 15:00:22 by james] Andrew Begel's change to move use of srcdir below its definition.
author james
date Tue, 20 May 2003 15:00:28 +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