This may sound like a very simple question, but what does
ADB=${ADB:-adb}
do?
I've run it and it sets $ADB
to adb
, I know the assignment of the value to the ADB
shell variable part, but what does ${ADB:-adb}
do? I haven't seen this syntax/usage before.