changeset 929:e53adc254895

added configure check for /bin/bash
author Jiri Vanek <jvanek@redhat.com>
date Wed, 12 Mar 2014 17:34:10 +0100
parents 9417633d1f86
children c20c689ba9ff
files ChangeLog configure.ac netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java
diffstat 3 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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@redhat.com>
+
+	* configure.ac: added check for /bin/bash
+
 2014-03-12  Andrew Azores  <aazores@redhat.com>
 
 	* netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java:
--- 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
--- 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);
+        
                 }
             }