Merge pull request #245807 from Artturin/setupshchanges1

stdenv: Make condition clearer
This commit is contained in:
Artturi
2023-07-28 14:59:43 +03:00
committed by GitHub
+1 -1
View File
@@ -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