Updated the scripts shebang for portability

- Updated all of the sh and bash shebangs for consistency and portability.
- set -e to the test script for portability
Resolves #3857
This commit is contained in:
AJ Acevedo 2015-07-18 21:49:10 -04:00
parent 56622c7ab6
commit b0fa2462a6
8 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
script/branding script/branding
bundle install -j8 bundle install -j8

View File

@ -1,4 +1,4 @@
#! /bin/bash #!/usr/bin/env bash
echo " ---------------------------------------------------------- " echo " ---------------------------------------------------------- "
echo " _ ______ _ __ __ __ _ _ " echo " _ ______ _ __ __ __ _ _ "

View File

@ -1,4 +1,4 @@
#! /bin/bash -e #!/usr/bin/env bash
script/branding script/branding

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if ruby --version | grep -q "jruby" if ruby --version | grep -q "jruby"
then then

View File

@ -1,4 +1,4 @@
#! /bin/bash #!/usr/bin/env bash
# #
# Usage: # Usage:
# script/proof # script/proof

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# rebund(1) # rebund(1)
# #

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
export BENCHMARK=1 export BENCHMARK=1
TEST_SCRIPT="Jekyll::Commands::Build.process({'source' => 'site', 'full_rebuild' => true})" TEST_SCRIPT="Jekyll::Commands::Build.process({'source' => 'site', 'full_rebuild' => true})"

View File

@ -1,4 +1,5 @@
#! /bin/bash -e #!/usr/bin/env bash
set -e
# Usage: # Usage:
# script/test <test_file> # script/test <test_file>