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