view etc/editclient.sh @ 1522:84bef38b39b6

[xemacs-hg @ 2003-06-11 21:21:13 by james] Fix module building with FreeBSD make while avoiding the previous solution, which broke module building with Solaris make.
author james
date Wed, 11 Jun 2003 21:21:15 +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