Skip to content

Commit

Permalink
build_clang_rust: Fix test if DESC_FD is missing
Browse files Browse the repository at this point in the history
patchworks is reporting:

build_clang_rust.sh: line 63: [: missing `]'

because without the space, the ] becomes part of the string. However
the whole test is wrong. Replace it.

Signed-off-by: Andrew Lunn <[email protected]>
  • Loading branch information
lunn committed Nov 3, 2023
1 parent e43f109 commit 3f85d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/patch/build_clang_rust/build_clang_rust.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ prep_config() {
fi
}

if [ -n "$DESC_FD"]; then
if [ ${DESC_FD}x == x ]; then
DESC_FD=/dev/stderr
fi

Expand Down

0 comments on commit 3f85d81

Please sign in to comment.