view etc/editclient.sh @ 4872:9873ea104ef6

Fix Cygwin module builds when --with-msw=no -------------------- ChangeLog entries follow: -------------------- src/ChangeLog addition: 2010-01-15 Ben Wing <ben@xemacs.org> * Makefile.in.in: Build xemacs-export.o whenever we're on any Windows OS (WIN32_ANY) instead of only when we build support for the GUI portion of MS-Windows (HAVE_MS_WINDOWS). Cosmetic: Use WIN32_ANY in place of equivalent (WIN32_NATIVE or CYGWIN).
author Ben Wing <ben@xemacs.org>
date Fri, 15 Jan 2010 04:49:35 -0600
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