summaryrefslogtreecommitdiff
path: root/Master/bin/i386-solaris/xdvi
diff options
context:
space:
mode:
Diffstat (limited to 'Master/bin/i386-solaris/xdvi')
-rwxr-xr-xMaster/bin/i386-solaris/xdvi17
1 files changed, 2 insertions, 15 deletions
diff --git a/Master/bin/i386-solaris/xdvi b/Master/bin/i386-solaris/xdvi
index 2fea0292fde..29632097df1 100755
--- a/Master/bin/i386-solaris/xdvi
+++ b/Master/bin/i386-solaris/xdvi
@@ -2,7 +2,7 @@
# This is the xdvi wrapper script for teTeX, version 0.2.
# Copyright Thomas Esser, 1998. Permission to distribute under the terms
-# of the GNU General Public License version 2 or later.
+# of the GNU general public license version 2 or later.
# This script sets some environment variables to make sure that xdvi's
# resource file in $XDVIINPUTS/xdvi is read by xdvi.bin.
@@ -50,17 +50,4 @@ if test -n "$xdviappfile"; then
XFILESEARCHPATH="$xdviapppath:${XFILESEARCHPATH-%D}"; export XFILESEARCHPATH
fi
-# 2009 modification by Ettore Aldrovandi for TeX Live specifically;
-# since the regular xdvi-xaw binary is built on OpenSolaris, and there's
-# a separate binary for Solaris 10, use the right one. This needs to be
-# patched back in the source tree, or otherwise fixed, but for now, just
-# do it here, where it's needed.
-if test x"`(uname -s) 2>&1`" = xSunOS \
- && test x"`(uname -r) 2>&1`" = x5.10 \
- && test x"`(uname -m) 2>&1`" = xi86pc ; then
- xdviprogram=xdvi-xaw_solaris10_x86
-else
- xdviprogram=xdvi-xaw
-fi
-
-exec $xdviprogram $NAMEOPT ${1+"$@"}
+exec xdvi-xaw $NAMEOPT ${1+"$@"}