freebsd-ports/editors/emacs/files/emacs.sh
Jun Kuriyama 66f2af6f3b Lock file correction and reflect change in /etc/mtree/BSD.local.dist.
PR:		ports/8289 (part of)
Submitted by:	Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
1999-01-02 12:26:11 +00:00

11 lines
157 B
Bash

#!/bin/sh
if [ -d /var/run/emacs/lock ]
then
rm -f /var/run/emacs/lock/*
else
mkdir -p /var/run/emacs/lock
fi
chmod 1777 /var/run/emacs/lock
exit 0