← Back to team overview

context team mailing list archive

Re: Minimals in 10.6 is not working now

 

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



Follow ups

References