summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-01-28 15:17:17 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-01-28 15:57:46 +0100
commit0efdfd2f270ef34fa42808ffcb1e95dfd46b6049 (patch)
tree86cac5fe07c79c941476a2872f21648a3f151567
parent215257cc7d28fbb51eaaf4d83c014887919e786a (diff)
downloadqutebrowser-0efdfd2f270ef34fa42808ffcb1e95dfd46b6049.tar.gz
qutebrowser-0efdfd2f270ef34fa42808ffcb1e95dfd46b6049.zip
Switch format_json userscript to /bin/sh again
It was switched to bash in 22e4a800a1c6080d29d41eeda229bc67b7bf314b for "-o pipefail", but doesn't actually use pipes, so we might as well switch it back to sh again. (cherry picked from commit aa333512a12c42c86e3c76faf1f5606426f454f1)
-rwxr-xr-xmisc/userscripts/format_json4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/userscripts/format_json b/misc/userscripts/format_json
index 8a83c25fa..555a40de1 100755
--- a/misc/userscripts/format_json
+++ b/misc/userscripts/format_json
@@ -1,5 +1,5 @@
-#!/usr/bin/env bash
-set -euo pipefail
+#!/bin/sh
+set -eu
#
# Behavior:
# Userscript for qutebrowser which will take the raw JSON text of the current