summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRuben Gonzalez <neorubenx@gmail.com>2024-12-06 18:49:23 +0200
committerFlorian Bruhin <me@the-compiler.org>2024-12-06 19:40:28 +0000
commit3a3c03a4df4f7aed9dcc77538949a3370a22a24a (patch)
tree6acb7a87a7511d44f355be485c373ab7cca56b43 /scripts
parent3dce2082372b20de594694ac592f57db68910c0b (diff)
downloadqutebrowser-3a3c03a4df4f7aed9dcc77538949a3370a22a24a.tar.gz
qutebrowser-3a3c03a4df4f7aed9dcc77538949a3370a22a24a.zip
In POSIX sh, echo flags are undefined
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/open_url_in_instance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/open_url_in_instance.sh b/scripts/open_url_in_instance.sh
index 0d6edef51..002826492 100755
--- a/scripts/open_url_in_instance.sh
+++ b/scripts/open_url_in_instance.sh
@@ -5,7 +5,7 @@
_url="$1"
_qb_version='1.0.4'
_proto_version=1
-_ipc_socket="${XDG_RUNTIME_DIR}/qutebrowser/ipc-$(echo -n "$USER" | md5sum | cut -d' ' -f1)"
+_ipc_socket="${XDG_RUNTIME_DIR}/qutebrowser/ipc-$(printf '%s' "$USER" | md5sum | cut -d' ' -f1)"
_qute_bin="/usr/bin/qutebrowser"
printf '{"args": ["%s"], "target_arg": null, "version": "%s", "protocol_version": %d, "cwd": "%s"}\n' \