annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1 #!/bin/sh
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2 if gnuclient -batch -eval t >/dev/null 2>&1; then
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
3 exec gnuclient ${1+"$@"}
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
4 else
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
5 xemacs -unmapped -f gnuserv-start &
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 until gnuclient -batch -eval t >/dev/null 2>&1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 do
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
8 sleep 1
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9 done
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10 exec gnuclient ${1+"$@"}
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 fi
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12