/hg/icedtea-web: added configure check for /bin/bash

jvanek at icedtea.classpath.org jvanek at icedtea.classpath.org
Wed Mar 12 16:34:32 UTC 2014


changeset e53adc254895 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=e53adc254895
author: Jiri Vanek <jvanek at redhat.com>
date: Wed Mar 12 17:34:10 2014 +0100

	added configure check for /bin/bash


diffstat:

 ChangeLog                                                     |  4 ++++
 configure.ac                                                  |  5 +++++
 netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java |  1 +
 3 files changed, 10 insertions(+), 0 deletions(-)

diffs (37 lines):

diff -r 9417633d1f86 -r e53adc254895 ChangeLog
--- a/ChangeLog	Wed Mar 12 09:46:59 2014 -0400
+++ b/ChangeLog	Wed Mar 12 17:34:10 2014 +0100
@@ -1,3 +1,7 @@
+2014-03-12  Jiri Vanek  <jvanek at redhat.com>
+
+	* configure.ac: added check for /bin/bash
+
 2014-03-12  Andrew Azores  <aazores at redhat.com>
 
 	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
diff -r 9417633d1f86 -r e53adc254895 configure.ac
--- a/configure.ac	Wed Mar 12 09:46:59 2014 -0400
+++ b/configure.ac	Wed Mar 12 17:34:10 2014 +0100
@@ -27,6 +27,11 @@
 AM_CONDITIONAL([ENABLE_DOCS], [test x$ENABLE_DOCS = xyes])
 AC_MSG_RESULT(${ENABLE_DOCS})
 
+AC_PATH_PROG([BIN_BASH], [bash],, [/bin])
+if test x"$BIN_BASH" = x ; then
+    AC_MSG_ERROR([/bin/bash is used in runtime and for about generation. Dying sooner rather then later])
+fi
+
 IT_CHECK_WITH_GCJ
 FIND_TOOL([ZIP], [zip])
 FIND_JAVAC
diff -r 9417633d1f86 -r e53adc254895 netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java
--- a/netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java	Wed Mar 12 09:46:59 2014 -0400
+++ b/netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java	Wed Mar 12 17:34:10 2014 +0100
@@ -112,6 +112,7 @@
             if (resources != null) {
                 for (URL url : resources) {
                     result.addProgressPanel(url, null);
+        
                 }
             }
 


More information about the distro-pkg-dev mailing list