Discussion:
[software/build-system/iurt] 01/01: Don't close stdin if --stop is used (mga#13318)
root-odJJhXpcy38dnm+
2014-05-04 20:40:21 UTC
Permalink
This is an automated email from the git hooks/post-receive script.

pterjan pushed a commit to branch master
in repository software/build-system/iurt.

commit 7224b1f59c5650d19fb6601585f211348fc3a79b
Author: Pascal Terjan <pterjan-***@public.gmane.org>
Date: Sun May 4 20:34:03 2014 +0000

Don't close stdin if --stop is used (mga#13318)
---
Commit Link:
http://gitweb.mageia.org/software/build-system/iurt/commit/?id=7224b1f59c5650d19fb6601585f211348fc3a79b

Bug links:
Mageia
https://bugs.mageia.org/show_bug.cgi?id=13318

NEWS | 2 ++
iurt | 6 ++++--
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 23aa6c2..0587574 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- don't close stdin if --stop is used (mga#13318)
+
0.6.21
- fix code handling dependencies
- fix broken error email
diff --git a/iurt b/iurt
index 3a3eeee..acf1ee8 100755
--- a/iurt
+++ b/iurt
@@ -698,8 +698,10 @@ if ($run{shell}) {
}
}

-# If not using --shell, we don't want an interactive build
-close STDIN;
+# If not using --shell or --stop, we don't want an interactive build
+if (!$run{stop}) {
+ close STDIN;
+}

# perform some cleaning before running to have some more space, rsync to
# the server too in case previous iurt crashed
--
Mageia Git Monkeys.
Loading...