Some operating systems, such as NixOS, don't place binaries in /bin. The appropriate cross-platform method is to use /usr/bin/env.
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Script to perform a release of element-web.
# Runs package.sh, passing DIST_VERSION determined by git
set -ex
# Fetches the js-sdk and matrix-react-sdk dependencies for development
# or testing purposes
# Echoes a version based on the git hashes of the element-web, react-sdk & js-sdk checkouts, for the case where
# these dependencies are git checkouts.
# Converts an svg logo into the various image resources required by
# the various platforms deployments.
set -e