From 6bf0fa2fefbfa647409661c263ef6997148b2a3e Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Thu, 8 Feb 2018 10:10:27 +0100 Subject: [PATCH] cronolog: Rebuild with -DCHECK_ALL_PREFIX_DIRS Without this option, cronolog creates all required directory components for the logfile only once, but doesn't recreate them as needed when a new logfile is created in the same directory path as before. The directory is "known to exist". However, if the directory is removed by a third party, like a stupid system administrator, cronolog just terminates when trying to open the next logfile. Add -DCHECK_ALL_PREFIX_DIRS to change that behaviour. With CHECK_ALL_PREFIX_DIRS, all directories are created as needed whenever a new logfile is created. --- cronolog.be0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cronolog.be0 b/cronolog.be0 index ee766b385..b7f9c5a7e 100755 --- a/cronolog.be0 +++ b/cronolog.be0 @@ -1,6 +1,6 @@ #!/usr/bin/env beesh -# BEE_VERSION cronolog-1.6.2-0 +# BEE_VERSION cronolog-1.6.2-1 ## this file was created by bee init and should be executed to build a ## bee-package. (Additional hints are located at the end of this file.) @@ -53,9 +53,9 @@ SRCURL[0]="https://api.github.com/repos/fordmason/cronolog/tarball/8ea64c08afe54 # bee_patch "${@}" #} -#mee_configure() { -# bee_configure -#} +mee_configure() { + CFLAGS="-DCHECK_ALL_PREFIX_DIRS" bee_configure +} #mee_build() { # bee_build