Skip to content

Commit

Permalink
Used a cross-platform Bash shebang.
Browse files Browse the repository at this point in the history
  • Loading branch information
j-rewerts authored and tombh committed Sep 22, 2018
1 parent 3c0ddf0 commit 99d8468
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion contrib/release_if_new_version.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -e

Expand Down
2 changes: 1 addition & 1 deletion interfacer/contrib/build_browsh.sh
@@ -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:
Expand Down
2 changes: 2 additions & 0 deletions interfacer/contrib/get_browsh_version.sh
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

set -e

PROJECT_ROOT=$(git rev-parse --show-toplevel)
Expand Down
2 changes: 1 addition & 1 deletion interfacer/contrib/setup_dep.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

# Install `dep` the current defacto dependency for Golang
Expand Down
2 changes: 1 addition & 1 deletion interfacer/contrib/setup_firefox.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -ex

Expand Down
2 changes: 1 addition & 1 deletion interfacer/contrib/upx_compress_binary.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ex
shopt -s extglob

Expand Down
2 changes: 1 addition & 1 deletion interfacer/contrib/xpi2bin.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

INTERFACER_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && cd ../ && pwd )"
Expand Down
2 changes: 1 addition & 1 deletion webext/contrib/bundle_webextension.sh
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion webext/contrib/firefoxheadless.sh
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion webext/contrib/setup_node.sh
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

if ! type "nvm" > /dev/null; then
rm -rf ~/.nvm
Expand Down

0 comments on commit 99d8468

Please sign in to comment.