[git commit master 1/1] make usage_compressed.h generation _always_ update mtime

Denys Vlasenko vda.linux at googlemail.com
Thu Jul 8 00:29:47 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=1d36f24bcb22d06b007f162802cbc5a251f3e612
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 applets/usage_compressed |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/applets/usage_compressed b/applets/usage_compressed
index 9ddf16d..e1fd0d9 100755
--- a/applets/usage_compressed
+++ b/applets/usage_compressed
@@ -40,8 +40,4 @@ echo '#define PACKED_USAGE \'
 	-e 's/$/ \\/'
 echo ''
 
-if cmp -s "$target.$$" "$target" 2>/dev/null; then
-    rm -- "$target.$$"
-else
-    mv -- "$target.$$" "$target"
-fi
+mv -- "$target.$$" "$target"
-- 
1.7.1



More information about the busybox-cvs mailing list