宮脇です。
山口さん、フォローありがとうございます。
--- Kazuo Yamaguchi <yamaguch@xxxxxxxxxxxxx> wrote:
> 田原様が試された so-8-pp5-eval-bin-linux-en-US_ja.sh も同じ構造で、
> これを実行して展開されたものの中にある setup も同じようなscript
> (+ binary)です。
> ただ、その中では田原様の仰るように "tail_prog="tail -n"" としており、
> 一見問題はないように思われます。体験版とはscriptの内容が違うようなので
> (体験版は242行、そちらのは189行)一度script内でtail option決定の
> 部分があるか確認してみると、原因が解ると思います。
> scriptの内容は、"head -n 189 setup | less"
> とでもすれば読めるはずです。
教えて頂いたコマンドを打ってみました。以下のようになりました。
しかし、私はlinuxについてまだまだ勉強不足で、これらのスクリプトが何を意味
しているのか良くわかりません。お教え頂ければ、感謝です。
[root@vine root]# cd /home/toshio/StarSuite8_Linux/StarSuite8/office
[root@vine office]# head -n 189 setup | less
#!/bin/sh
java_runtime='java'
linenum=190
usetempjre=0
check_platform="Linux"
check_failed=1
if [ "`uname` `uname -p`" = "$check_platform" ]; then
check_failed=0
elif [ "`uname`" = "$check_platform" ]; then
check_failed=0
fi
if [ $check_failed -ne 0 ]; then
current_plat="`uname` `uname -p`"
echo "This installer is for $check_platform but you are running
$current_plat. Exiting."
exit 1
fi
set OLDMASK=`umask`
umask 022
: