[pkg-fso-commits] [SCM] Various non-packaged files branch, master, updated. ae081c71dad34c90bf9a295c6d5bb8dfc9a78b55

Steffen Moeller steffen_moeller at gmx.de
Sat Mar 6 22:38:39 UTC 2010


The following commit has been merged in the master branch:
commit ae081c71dad34c90bf9a295c6d5bb8dfc9a78b55
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date:   Sat Mar 6 23:38:25 2010 +0100

    Added explanation for nested invocation of bash

diff --git a/install.sh b/install.sh
index 7a0ae17..747cbfc 100755
--- a/install.sh
+++ b/install.sh
@@ -228,6 +228,8 @@ five_seconds_to_quit () {
 	# since dash doesn't support 'read' -t and -n options, this script
 	# should be executed only by /bin/bash.  However, all official
 	# Openmoko images use busybox, which doesn't provide /bin/bash
+	# The nested invocation of the bash circumvents a bug in the bash
+	# distributed with Om2008.12.
 	intern_var=$(read -t 5 -n 1 intern_var || intern_var=continue; echo $intern_var)
 	if [ "$intern_var" != "continue" ]; then
 		echo "E: aborting on user request"

-- 
Various non-packaged files



More information about the pkg-fso-commits mailing list