LLNL/magpie

binary operator expected

chu11 opened this issue · 1 comments

chu11 commented

From a user
magpie-check-inputs: line 134: [: <A SCRIPT NAME>: binary operator expected

maps to if line in

__Magpie_check_is_executable () {
    local varname="$1"

    if [ ! -x ${!varname} ]
    then
        echo "${varname}=\"${!varname}\" does not have execute permissions"
        exit 1
    fi
}

what'd I screw up?

chu11 commented

Issue was user specified

SPARK_SCRIPT_PATH=" <A_ARG>".