mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 14:04:20 +01:00
Extract args processing in deps scripts
Extract the code which process arguments to a function. This will make it optional, so that the script which just downloads the official adb binaries does not use arguments.
This commit is contained in:
@@ -3,6 +3,7 @@ set -ex
|
||||
DEPS_DIR=$(dirname ${BASH_SOURCE[0]})
|
||||
cd "$DEPS_DIR"
|
||||
. common
|
||||
process_args "$@"
|
||||
|
||||
VERSION=7.1
|
||||
FILENAME=ffmpeg-$VERSION.tar.xz
|
||||
|
||||
Reference in New Issue
Block a user