Fix wrong variable names forgotten in the previous commit.

This commit is contained in:
Hiroki Sato 2007-06-09 12:44:02 +00:00
parent 01240536d2
commit 9839ed46e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=193100
2 changed files with 8 additions and 8 deletions

View file

@ -21,14 +21,14 @@ NO_BUILD= yes
PLIST_SUB= ACROBASE=${ACROBASE} \
ADOBEBASE=${ADOBEBASE}
SUB_FILES= acroread
SUB_LIST= ACRODIR=${ACRODIR} \
SUB_LIST= ACROBASE=${ACROBASE} \
ADOBE_LANG=${ADOBE_LANG:U} \
INSTALLDIR=${INSTALLDIR} \
LINUXBASE=${LINUXBASE} \
PLUGINDIR=${PLUGINDIR}
ADOBEBASE= Adobe
ACROBASE= ${ADOBEDIR}/Acrobat7.0
ACROBASE= ${ADOBEBASE}/Acrobat7.0
PLUGINDIR= lib/browser_linux_plugins
do-fetch:

View file

@ -57,9 +57,9 @@ esac
case $1 in
--install-plugin)
echo "installing PDF plugin..."
echo "%%PREFIX%%/%%ACRODIR%%/${ADOBE_LANG}/Browser/intellinux/nppdf.so -> %%PREFIX%%/%%PLUGINDIR%%/nppdf.so"
echo "%%PREFIX%%/%%ACROBASE%%/${ADOBE_LANG}/Browser/intellinux/nppdf.so -> %%PREFIX%%/%%PLUGINDIR%%/nppdf.so"
mkdir -p /../%%PREFIX%%/%%PLUGINDIR%%
ln -s -f %%PREFIX%%/%%ACRODIR%%/${ADOBE_LANG}/Browser/intellinux/nppdf.so \
ln -s -f %%PREFIX%%/%%ACROBASE%%/${ADOBE_LANG}/Browser/intellinux/nppdf.so \
/../%%PREFIX%%/%%PLUGINDIR%%/nppdf.so
exit 0
;;
@ -72,10 +72,10 @@ case $1 in
esac
UNAME_s=Linux; export UNAME_s
if [ -x %%PREFIX%%/%%ACRODIR%%/${ADOBE_LANG}/bin/acroread ]; then
exec %%PREFIX%%/%%ACRODIR%%/${ADOBE_LANG}/bin/acroread "$@"
elif [ -x %%PREFIX%%/%%ACRODIR%%/ENU/bin/acroread ]; then
exec %%PREFIX%%/%%ACRODIR%%/ENU/bin/acroread "$@"
if [ -x %%PREFIX%%/%%ACROBASE%%/${ADOBE_LANG}/bin/acroread ]; then
exec %%PREFIX%%/%%ACROBASE%%/${ADOBE_LANG}/bin/acroread "$@"
elif [ -x %%PREFIX%%/%%ACROBASE%%/ENU/bin/acroread ]; then
exec %%PREFIX%%/%%ACROBASE%%/ENU/bin/acroread "$@"
else
echo "!fatal: acroread binary not found."
exit 1