mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-30 05:39:12 +02:00
Always autogenerate code if --smart is not specified.
This commit is contained in:
parent
f0a4264f77
commit
5b0748cf93
@ -308,7 +308,7 @@ eval
|
|||||||
|
|
||||||
errorDefineLoad(${$oStorageBackRest->get("build/error.yaml")});
|
errorDefineLoad(${$oStorageBackRest->get("build/error.yaml")});
|
||||||
|
|
||||||
if (buildLastModTime($oStorageBackRest, "${strBackRestBase}", ['build']) >
|
if (!$bSmart || buildLastModTime($oStorageBackRest, "${strBackRestBase}", ['build']) >
|
||||||
buildLastModTime($oStorageBackRest, "${strBackRestBase}", ['src'], '\.auto\.c$'))
|
buildLastModTime($oStorageBackRest, "${strBackRestBase}", ['src'], '\.auto\.c$'))
|
||||||
{
|
{
|
||||||
&log(INFO, " autogenerate C code");
|
&log(INFO, " autogenerate C code");
|
||||||
@ -347,7 +347,7 @@ eval
|
|||||||
#
|
#
|
||||||
# Use statements are put here so this will be easy to get rid of someday.
|
# Use statements are put here so this will be easy to get rid of someday.
|
||||||
#---------------------------------------------------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------------------------------------------------
|
||||||
if (buildLastModTime($oStorageBackRest, "${strBackRestBase}", ['libc/build']) >
|
if (!$bSmart || buildLastModTime($oStorageBackRest, "${strBackRestBase}", ['libc/build']) >
|
||||||
buildLastModTime($oStorageBackRest, "${strBackRestBase}", ['libc', 'lib'], '(\.auto\.pm|Auto\.pm)$'))
|
buildLastModTime($oStorageBackRest, "${strBackRestBase}", ['libc', 'lib'], '(\.auto\.pm|Auto\.pm)$'))
|
||||||
{
|
{
|
||||||
&log(INFO, " autogenerate Perl code");
|
&log(INFO, " autogenerate Perl code");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user