src/Pure/mk
changeset 16131 e1b85512d87d
parent 15790 e68dab670fc5
child 16376 65e2df6d8e10
equal deleted inserted replaced
16130:38b111451155 16131:e1b85512d87d
    63 ## main
    63 ## main
    64 
    64 
    65 # get compatibility file
    65 # get compatibility file
    66 
    66 
    67 ML_SYSTEM_BASE=$(echo "$ML_SYSTEM" | cut -f1 -d-)
    67 ML_SYSTEM_BASE=$(echo "$ML_SYSTEM" | cut -f1 -d-)
    68 [ -z "$ML_SYSTEM" ] && \
    68 [ -z "$ML_SYSTEM" ] && fail "Missing ML_SYSTEM settings!"
    69   fail "Missing ML system settings! Probably not run via 'isatool make'."
       
    70 
    69 
    71 COMPAT=""
    70 COMPAT=""
    72 [ -f "ML-Systems/$ML_SYSTEM_BASE.ML" ] && COMPAT="ML-Systems/$ML_SYSTEM_BASE.ML"
    71 [ -f "ML-Systems/$ML_SYSTEM_BASE.ML" ] && COMPAT="ML-Systems/$ML_SYSTEM_BASE.ML"
    73 [ -f "ML-Systems/$ML_SYSTEM.ML" ] && COMPAT="ML-Systems/$ML_SYSTEM.ML"
    72 [ -f "ML-Systems/$ML_SYSTEM.ML" ] && COMPAT="ML-Systems/$ML_SYSTEM.ML"
    74 [ -z "$COMPAT" ] && fail "Missing compatibility file for ML system \"$ML_SYSTEM\"!"
    73 [ -z "$COMPAT" ] && fail "Missing compatibility file for ML system \"$ML_SYSTEM\"!"