1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/editors/emacs22/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