[sign-apk] use tilde instead of hard-coded home; use bash