force it to use bash in clean.sh and build.sh

This commit is contained in:
idk
2022-07-15 23:26:45 -04:00
parent 8a75fc7450
commit 645715d848
8 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#! /usr/bin/env sh
#! /usr/bin/env bash
curl -s "https://addons.mozilla.org/api/v5/addons/addon/$1/versions/?page_size=1" | jq '.results | .[0] | .file | .url' | tr -d '"'

View File

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

View File

@ -1,4 +1,4 @@
#! /usr/bin/env sh
#! /usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPT_DIR" || exit 1

View File

@ -1,3 +1,4 @@
#! /usr/bin/env bash
## If you need to use a different JVM, JDK, or other utility from
# build.sh, set it in this file, for example:

View File

@ -1,4 +1,4 @@
#! /usr/bin/env sh
#! /usr/bin/env bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$SCRIPT_DIR" || exit 1

View File

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

View File

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

View File

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