From 1a8b62e3b09ae774edf99bf5666e0848fd3eb743 Mon Sep 17 00:00:00 2001 From: Samuel <36420837+Samueru-sama@users.noreply.github.com> Date: Thu, 25 Jul 2024 14:01:50 -0400 Subject: [PATCH] Update android-tools-appimage.sh --- android-tools-appimage.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android-tools-appimage.sh b/android-tools-appimage.sh index 5c6fdee..71607e5 100644 --- a/android-tools-appimage.sh +++ b/android-tools-appimage.sh @@ -32,7 +32,7 @@ ln -s ./Android.png ./.DirIcon cat >> ./AppRun << 'EOF' #!/bin/sh CURRENTDIR="$(dirname "$(readlink -f "$0")")"/usr/bin -UDEVNOTICE=$(echo "If you get errors it might be because of missing android udev rules, use --getudev to install them") +UDEVNOTICE="If you get errors it might be because of missing android udev rules, use --getudev to install them" ARGS="$(echo "$@" | cut -f2- -d ' ')" export PATH="$CURRENTDIR:$PATH" if [ "$1" = "adb" ]; then @@ -54,8 +54,8 @@ if [ "$1" = "adb" ]; then echo "udev rules already installed" echo "Errors persisting with installed udev rules may be due to specific phone missing from the rules or insufficient permissions on the phone" else - UDEVREPO=https://github.com/M0Rf30/android-udev-rules.git - git clone $UDEVREPO + UDEVREPO="https://github.com/M0Rf30/android-udev-rules.git" + git clone "$UDEVREPO" cd android-udev-rules || exit 1 chmod a+x ./install.sh echo "udev rules installer from $UDEVREPO"