This commit is contained in:
bel
2023-10-11 20:24:43 -06:00
parent edaf7b7efd
commit 8184467dc2
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
#! /bin/bash
#! /bin/sh
set -o pipefail
set -e
@@ -8,7 +8,7 @@ if ! which firebase; then
f="$(mktemp)"
curl -sL https://firebase.tools > "$f"
export upgrade=true
sudo bash "$f"
$(if tty &> /dev/null; then echo sudo; fi) sh "$f"
fi
outdir=./deploy