-
-
Save Ingvix/199ac297284888225ae5b7f60a920d25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
RESULT=`echo "$1" | sed "s|/devices/\([^/]*\)/\([^/]*\)/.*|\1/\2|g"| cut -d'/' -f1` | |
echo ANDROID_BLOCK_DEVICE=$RESULT | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment