Switch to unified view

a/src/ohproduct.cxx b/src/ohproduct.cxx
...
...
410
410
411
        string tp(tpnm.substr(0, dash));
411
        string tp(tpnm.substr(0, dash));
412
        string nm(tpnm.substr(dash+1));
412
        string nm(tpnm.substr(dash+1));
413
        if (tp.compare("Analog") && tp.compare("Digital") &&
413
        if (tp.compare("Analog") && tp.compare("Digital") &&
414
            tp.compare("Hdmi")) {
414
            tp.compare("Hdmi")) {
415
            if (tp.compare("device") && tp.compare("prescript") &&
416
                tp.compare("postscript"))
415
            LOGERR("listScripts: bad source type: " << tp << endl);
417
                LOGERR("listScripts: bad source type: " << tp << endl);
416
            continue;
418
            continue;
417
        }
419
        }
418
420
419
        if (access(path_cat(scripts_dir, tpnm).c_str(), X_OK) != 0) {
421
        if (access(path_cat(scripts_dir, tpnm).c_str(), X_OK) != 0) {
420
            LOGERR("listScripts: script " << tpnm << " is not executable" <<
422
            LOGERR("listScripts: script " << tpnm << " is not executable" <<