Changeset 2624


Ignore:
Timestamp:
Apr 17, 2010, 2:53:07 AM (9 years ago)
Author:
bruno
Message:
  • Mondoarchive should not try to cerate a cmp binary if it doesn't exist.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-tools.c

    r2524 r2624  
    936936
    937937    if (!find_home_of_exe("cmp")) {
    938         if (!find_home_of_exe("true")) {
    939             whine_if_not_found("cmp");
    940         } else {
    941             log_to_screen
    942                 ("Your system lacks the 'cmp' binary. I'll create a dummy cmp for you.");
    943             if (run_program_and_log_output
    944                 ("cp -f `which true` /usr/bin/cmp", 0)) {
    945                 fatal_error("Failed to create dummy 'cmp' file.");
    946             }
    947         }
     938        whine_if_not_found("cmp");
    948939    }
    949940    run_program_and_log_output
Note: See TracChangeset for help on using the changeset viewer.