← Commit list

08f0b784f

Denys Vlasenko
Denys Vlasenko
2010-07-04
FAILED Duration: 39s

Subject

Yet another attempt to stamp out "make -j" problems

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

applets/usage_compressed+7 -1
@@ -9,7 +9,7 @@ test -x "$loc/usage" || exit 1
test "$SED" || SED=sed
test "$DD" || DD=dd
-exec >"$target"
+exec >"$target.$$"
echo '#define UNPACKED_USAGE "" \'
"$loc/usage" | od -v -t x1 \
@@ -39,3 +39,9 @@ echo '#define PACKED_USAGE \'
-e 's/\(..\)/0x\1,/g' \
-e 's/$/ \\/'
echo ''
+
+if cmp -s "$target.$$" "$target" 2>/dev/null; then
+ rm -- "$target.$$"
+else
+ mv -- "$target.$$" "$target"
+fi