Skip to content
This repository was archived by the owner on Jul 11, 2020. It is now read-only.

Commit 1e93228

Browse files
committed
change sd card uuid wildcard from ? to * for better compatibility with alphanumeric characters
1 parent 0e7778d commit 1e93228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android-sync.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ get_storage_path()
6060
# Try to get the UUID of the sd_card mounted in /storage and create a Music folder if it doesn't exists.
6161
# TODO Default to internal storage if an external storage device isn't present
6262

63-
sd_name=$(adb shell "cd storage/????-????; pwd | sed 's#.*/##'") ||
63+
sd_name=$(adb shell "cd storage/****-****; pwd | sed 's#.*/##'") ||
6464
{
6565
echo 'ERROR: There was a problem accessing the external storage device. Disengaging...'
6666
disconnect_device

0 commit comments

Comments
 (0)