File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,9 @@ git rev-parse HEAD >"$BASEDIR"/output/core-commitID
9696# Configure in order to run "make dist", deleted later.
9797log_debug " Running configure on core repository..."
9898run_and_print_on_failure ./configure -C
99+ # Normalize source timestamps to avoid errors like:
100+ # configure: error: newly created file is older than distributed files!
101+ find . -exec touch -t 200001010000.00 {} +
99102log_debug " Running make dist on core repository..."
100103run_and_print_on_failure make dist
101104mv cfengine-3.* .tar.gz " $BASEDIR " /output/tarballs/
@@ -109,6 +112,9 @@ git rev-parse HEAD >"$BASEDIR"/output/masterfiles-commitID
109112# Configure in order to run "make dist", deleted later.
110113log_debug " Running configure on masterfiles repository..."
111114run_and_print_on_failure ./configure
115+ # Normalize source timestamps to avoid errors like:
116+ # configure: error: newly created file is older than distributed files!
117+ find . -exec touch -t 200001010000.00 {} +
112118log_debug " Running make dist on masterfiles repository..."
113119run_and_print_on_failure make dist # source tarball
114120log_debug " Running make tar-package on masterfiles repository..."
You can’t perform that action at this time.
0 commit comments