Advertisement
Guest User

platform-device

a guest
Aug 9th, 2016
526
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #!/bin/sh
  2. RESULT=`echo "$1" | sed "s|/devices/\([^/]*\)/\([^/]*\)/.*|\1/\2|g"| cut -d'/' -f1`
  3.  
  4. echo ANDROID_BLOCK_DEVICE=$RESULT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement