Merge pull request #245807 from Artturin/setupshchanges1
stdenv: Make condition clearer
This commit is contained in:
@@ -1594,7 +1594,7 @@ genericBuild() {
|
||||
|
||||
if [ "$curPhase" = unpackPhase ]; then
|
||||
# make sure we can cd into the directory
|
||||
[ -z "${sourceRoot}" ] || chmod +x "${sourceRoot}"
|
||||
[ -n "${sourceRoot:-}" ] && chmod +x "${sourceRoot}"
|
||||
|
||||
cd "${sourceRoot:-.}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user