From 94a521d32fe0420f6edd7b211e93ed8b21cad6a3 Mon Sep 17 00:00:00 2001 From: anarcat Date: Mon, 3 Sep 2018 18:35:55 -0400 Subject: [PATCH] call /bin/sh instead of bash The script is POSIX-clean: Debian's `checkbashism` script doesn't detect any oddity and manual inspection seems to confirm this should run correctly under any POSX-respecting shell. This includes `dash` (Debian), `sh` (BSD's "Bourne shell"), or even fancy ones like `zsh`. Closes: #7 --- src/pb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pb.sh b/src/pb.sh index be1e472..7c93b81 100755 --- a/src/pb.sh +++ b/src/pb.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh endpoint="${PB_ENDPOINT:-https://ptpb.pw}" jq_args="${PB_JSON:--r .url}"