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:
parent
56622c7ab6
commit
b0fa2462a6
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
script/branding
|
script/branding
|
||||||
bundle install -j8
|
bundle install -j8
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
echo " ---------------------------------------------------------- "
|
echo " ---------------------------------------------------------- "
|
||||||
echo " _ ______ _ __ __ __ _ _ "
|
echo " _ ______ _ __ __ __ _ _ "
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /bin/bash -e
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
script/branding
|
script/branding
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if ruby --version | grep -q "jruby"
|
if ruby --version | grep -q "jruby"
|
||||||
then
|
then
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
# script/proof
|
# script/proof
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# rebund(1)
|
# rebund(1)
|
||||||
#
|
#
|
||||||
|
|
|
@ -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})"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#! /bin/bash -e
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
# script/test <test_file>
|
# script/test <test_file>
|
||||||
|
|
Loading…
Reference in New Issue