275b378d74
Problem noticed by Satoshi Suetake in PR 37445. Bump PKGREVISION.
18 lines
570 B
Bash
Executable file
18 lines
570 B
Bash
Executable file
#! /bin/sh
|
|
EXINIT0="set ${CANNA_OPT} autodetect=${AUTODETECT} fileencoding=${ENCODING} displayencoding=${ENCODING} inputencoding=${ENCODING} noskipdisplay"
|
|
if [ "x$NEXINIT" != "x" -a "${NEXINIT-UNSET}" != "UNSET" ]; then
|
|
EXINIT1="$NEXINIT"
|
|
elif [ "x$EXINIT" != "x" -a "${EXINIT-UNSET}" != "UNSET" ]; then
|
|
EXINIT1="$EXINIT"
|
|
else
|
|
rcfile="/dev/null"
|
|
if [ -f "${HOME}/.nexrc" ]; then
|
|
rcfile="$HOME/.nexrc"
|
|
elif [ -f "${HOME}/.exrc" ]; then
|
|
rcfile="$HOME/.exrc"
|
|
fi
|
|
EXINIT1="source $rcfile"
|
|
fi
|
|
NEXINIT="$EXINIT0|$EXINIT1"
|
|
export NEXINIT
|
|
exec ${PREFIX}/bin/nvi "$@"
|