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} \ PLIST_SUB= ACROBASE=${ACROBASE} \
ADOBEBASE=${ADOBEBASE} ADOBEBASE=${ADOBEBASE}
SUB_FILES= acroread SUB_FILES= acroread
SUB_LIST= ACRODIR=${ACRODIR} \ SUB_LIST= ACROBASE=${ACROBASE} \
ADOBE_LANG=${ADOBE_LANG:U} \ ADOBE_LANG=${ADOBE_LANG:U} \
INSTALLDIR=${INSTALLDIR} \ INSTALLDIR=${INSTALLDIR} \
LINUXBASE=${LINUXBASE} \ LINUXBASE=${LINUXBASE} \
PLUGINDIR=${PLUGINDIR} PLUGINDIR=${PLUGINDIR}
ADOBEBASE= Adobe ADOBEBASE= Adobe
ACROBASE= ${ADOBEDIR}/Acrobat7.0 ACROBASE= ${ADOBEBASE}/Acrobat7.0
PLUGINDIR= lib/browser_linux_plugins PLUGINDIR= lib/browser_linux_plugins
do-fetch: do-fetch:

View file

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