view etc/editclient.sh @ 4850:2727d0d8ef07

Fix executable permissions on source files 2010-01-13 Ben Wing <ben@xemacs.org> * Makefile.in.in (fix-perms): Add target for fix-perms. Run it to correct permissions. 2010-01-13 Ben Wing <ben@xemacs.org> * fix-perms.sh: New file.
author Ben Wing <ben@xemacs.org>
date Wed, 13 Jan 2010 13:15:56 -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