JBoss ON apply-updates.sh fails if Bourne Shell (sh) or DASH (dash) is used instead of Bourne Again Shell (bash)

Solution Unverified - Updated -

Issue

  • apply-updates.sh fails to run on a system that uses /bin/sh or /bin/dash instead of /bin/bash

    296: ./apply-updates.sh: Bad substitution
    

Environment

  • Red Hat JBoss Operations Network (JBoss ON) 3.3 Update 11 and earlier
  • Linux
  • Unix
  • /bin/sh is not /bin/bash or /usr/bin/bash
  • Executing apply-updates.sh

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content