close stdin in an attempt to improve builds for deb/ubuntu that tend to hang when...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 23 Jan 2014 14:18:57 +0000 (15:18 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 23 Jan 2014 14:18:57 +0000 (15:18 +0100)
lbuild-initvm.sh

index 9e1b420..3bdd9fa 100755 (executable)
@@ -1,6 +1,9 @@
 #!/bin/bash
 # -*-shell-*-
 
+# close stdin, as with ubuntu and debian VMs this script tends to hang and wait for input ..
+0<&-
+
 #shopt -s huponexit
 
 COMMAND=$(basename $0)