Use portable shebang for all bash scripts

Refs #426 <https://github.com/Genymobile/scrcpy/pull/426>
Refs #1716 <https://github.com/Genymobile/scrcpy/pull/1716>
This commit is contained in:
Romain Vimont 2020-09-15 13:54:00 +02:00
parent 02a882a0a2
commit 1c44dc2259
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
url="$1" url="$1"
sum="$2" sum="$2"

2
run
View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Run scrcpy generated in the specified BUILDDIR. # Run scrcpy generated in the specified BUILDDIR.
# #
# This provides the same feature as "ninja run", except that it is possible to # This provides the same feature as "ninja run", except that it is possible to

View file

@ -1,2 +1,2 @@
#!/bin/bash #!/usr/bin/env bash
SCRCPY_SERVER_PATH="$MESON_BUILD_ROOT/server/scrcpy-server" "$MESON_BUILD_ROOT/app/scrcpy" SCRCPY_SERVER_PATH="$MESON_BUILD_ROOT/server/scrcpy-server" "$MESON_BUILD_ROOT/app/scrcpy"