aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-01-03 00:43:19 +0000
committerNicolas Vigier <boklm@mageia.org>2012-01-03 00:43:19 +0000
commite431c1b2e1e6a1ac67938ad5fed98e1965f3d26e (patch)
tree65f19def8736abb638909d7f711a66fb5ac7b936
parent90846de4ba32aef58bcbb8f9ae1bc3cdab75a89d (diff)
downloadpuppet-e431c1b2e1e6a1ac67938ad5fed98e1965f3d26e.tar
puppet-e431c1b2e1e6a1ac67938ad5fed98e1965f3d26e.tar.gz
puppet-e431c1b2e1e6a1ac67938ad5fed98e1965f3d26e.tar.bz2
puppet-e431c1b2e1e6a1ac67938ad5fed98e1965f3d26e.tar.xz
puppet-e431c1b2e1e6a1ac67938ad5fed98e1965f3d26e.zip
use temporary files to update missing-deps files (#2839)
-rwxr-xr-xmodules/buildsystem/files/missing-deps.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/buildsystem/files/missing-deps.sh b/modules/buildsystem/files/missing-deps.sh
index 7e59cb45..fade8d51 100755
--- a/modules/buildsystem/files/missing-deps.sh
+++ b/modules/buildsystem/files/missing-deps.sh
@@ -21,5 +21,6 @@ missing() {
for arch in i586 x86_64
do
- missing $arch > missing-deps.$arch.txt
+ missing $arch > missing-deps.$arch.txt.new
+ mv -f missing-deps.$arch.txt.new missing-deps.$arch.txt
done