···1594159415951595 if [ "$curPhase" = unpackPhase ]; then
15961596 # make sure we can cd into the directory
15971597- [ -z "${sourceRoot}" ] || chmod +x "${sourceRoot}"
15971597+ [ -n "${sourceRoot:-}" ] && chmod +x "${sourceRoot}"
1598159815991599 cd "${sourceRoot:-.}"
16001600 fi