emacs/wrapper
Jens Petersen 475652cd32 - merge in changes from emacs22.spec conditionally
- define emacs21 rpm macro switch to control major version and use it
- update tramp to 2.0.49
- set arg0 to emacs in wrapper script (Peter Oliver, 149512#3)
2005-06-23 15:39:11 +00:00

11 lines
192 B
Bash
Executable File

#!/bin/sh
PROG_NAME=`basename $0`
for i in x nox; do
[ -x "/usr/bin/${PROG_NAME}-$i" ] && exec -a ${PROG_NAME} /usr/bin/${PROG_NAME}-$i "$@"
done
echo "Can't find $PROG_NAME" 1>&2
exit 1