Used a cross-platform Bash shebang.

This commit is contained in:
Jared Rewerts 2018-09-21 14:09:38 -06:00 committed by Thomas Buckley-Houston
parent 3c0ddf0c80
commit 99d8468920
10 changed files with 11 additions and 9 deletions

View file

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

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# This is for building a production version of Browsh.
# To build Browsh during development see:

View file

@ -1,3 +1,5 @@
#!/usr/bin/env bash
set -e
PROJECT_ROOT=$(git rev-parse --show-toplevel)

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
# Install `dep` the current defacto dependency for Golang

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ex

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ex
shopt -s extglob

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
INTERFACER_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && cd ../ && pwd )"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Convert the Browsh webextension into embedable binary data so that we can
# distribute Browsh as a single static binary.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ "$1" = "kill" ]]; then
kill $(ps aux|grep headless|grep 'profile /tmp'| tr -s ' ' | cut -d ' ' -f2)

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if ! type "nvm" > /dev/null; then
rm -rf ~/.nvm