Ticket #4468: e2fsprogs-1.45.1-fix_crond_dir-1.patch

File e2fsprogs-1.45.1-fix_crond_dir-1.patch, 886 bytes (added by thomas, 5 years ago)
  • e2fsprogs-1.45.1

    diff -Naur e2fsprogs-1.45.1.orig/configure e2fsprogs-1.45.1/configure
    old new  
    1451114511
    1451214512                if test -d "/etc/cron.d"; then :
    1451314513  with_crond_dir="/etc/cron.d"
     14514else
     14515  have_crond="no"; with_crond_dir=""
    1451414516fi
    1451514517
    1451614518fi
  • e2fsprogs-1.45.1

    diff -Naur e2fsprogs-1.45.1.orig/configure.ac e2fsprogs-1.45.1/configure.ac
    old new  
    16741674        AS_IF([test "x${with_crond_dir}" = "xyes"],
    16751675          [
    16761676                AS_IF([test -d "/etc/cron.d"],
    1677                   [with_crond_dir="/etc/cron.d"])
     1677                  [with_crond_dir="/etc/cron.d"],
     1678                  [have_crond="no"; with_crond_dir=""])
    16781679          ])
    16791680        AC_MSG_CHECKING([for system crontab dir])
    16801681        crond_dir="${with_crond_dir}"