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

Commit

Permalink
add / to uuid wildcard directory command
Browse files Browse the repository at this point in the history
  • Loading branch information
afreuden committed Apr 13, 2018
1 parent 1e93228 commit 3a6ac0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ get_storage_path()
# Try to get the UUID of the sd_card mounted in /storage and create a Music folder if it doesn't exists.
# TODO Default to internal storage if an external storage device isn't present

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

0 comments on commit 3a6ac0e

Please sign in to comment.