blob: 66678687672cbf52f0e4d09f9e8c3b8ef5f7382f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$FreeBSD$
--- bin/.java_wrapper.orig Fri May 25 14:39:58 2001
+++ bin/.java_wrapper Fri May 25 14:42:25 2001
@@ -11,7 +11,7 @@
progname=`basename $0`
case "`uname -m`" in
- i[3-6]86 | ia32 | ia64 | i?86)
+ i[3-6]86 | ia32 | ia64 | i?86 | amd64)
proc=i386
;;
sparc*)
@@ -34,8 +34,8 @@
# Resolve symlinks. See 4152645.
while [ -L "$PRG" ]; do
ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/' > /dev/null; then
+ link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
+ if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then
PRG="$link"
else
PRG="`dirname $PRG`/$link"
|