···15941595 if [ "$curPhase" = unpackPhase ]; then
1596 # make sure we can cd into the directory
1597- [ -z "${sourceRoot}" ] || chmod +x "${sourceRoot}"
15981599 cd "${sourceRoot:-.}"
1600 fi
···15941595 if [ "$curPhase" = unpackPhase ]; then
1596 # make sure we can cd into the directory
1597+ [ -n "${sourceRoot:-}" ] && chmod +x "${sourceRoot}"
15981599 cd "${sourceRoot:-.}"
1600 fi