7 Jan
2010
7 Jan
'10
8:04 p.m.
Yue, What shell do you use? What does "echo $HOSTTYPE" return on your machine? Hans, did you make modifications of the following code? local architecture = os.getenv("HOSTTYPE") or "" if architecture == "" then architecture = os.resultof("uname -m") or "" end if architecture == "" then local architecture = os.resultof("echo $HOSTTYPE") end if name == "linux" then if find(architecture,"x86_64") then os.platform = "linux-64" I'm afraid that this might break some shells in linux and other OS-es as well. Mojca