Skip to content

Commit

Permalink
Fix shebang line to bash
Browse files Browse the repository at this point in the history
Depending on the distro running the script the following error
might appear:

    ./bootstrap: 4: [: Linux: unexpected operator

This is because #!/bin/sh is not the same on every distro and this
script is actually expecting bash. So update the shebang line to
be bash.

Signed-off-by: Thanh Ha <[email protected]>
  • Loading branch information
zxiiro authored and nickrasmussen committed Aug 8, 2018
1 parent 4cfefea commit d3512e0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion IlmBase/bootstrap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
# If we're on OS X, use glibtoolize instead of toolize when available
HOSTTYPE=`uname`
if [ "$HOSTTYPE" == "Darwin" ] && $(which glibtoolize > /dev/null 2>&1) ; then
Expand Down
2 changes: 1 addition & 1 deletion OpenEXR/bootstrap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
# If we're on OS X, use glibtoolize instead of toolize when available
HOSTTYPE=`uname`
if [ "$HOSTTYPE" == "Darwin" ] && $(which glibtoolize > /dev/null 2>&1) ; then
Expand Down
2 changes: 1 addition & 1 deletion OpenEXR_Viewers/bootstrap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
# If we're on OS X, use glibtoolize instead of toolize when available
HOSTTYPE=`uname`
if [ "$HOSTTYPE" == "Darwin" ] && $(which glibtoolize > /dev/null 2>&1) ; then
Expand Down
2 changes: 1 addition & 1 deletion PyIlmBase/bootstrap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/sh
#!/bin/bash
# If we're on OS X, use glibtoolize instead of toolize when available
HOSTTYPE=`uname`
if [ "$HOSTTYPE" == "Darwin" ] && $(which glibtoolize > /dev/null 2>&1) ; then
Expand Down

0 comments on commit d3512e0

Please sign in to comment.