Skip to content

Commit

Permalink
Fix error caused by overzealous codacy recommendations (to double-quo…
Browse files Browse the repository at this point in the history
…te all variables everywhere in our shell script).
  • Loading branch information
afinetooth committed Sep 19, 2024
1 parent 700abb1 commit 9eac84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/xbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ esac
echo "Linking with: $libs"

# link the object_file with the supplied libraries
link_output=$(zig cc -target "$link_platform" -Wno-deprecated-non-prototype "$object_file" -o "$executable_name" "$link_paths" "$libs")
link_output=$(zig cc -target "$link_platform" -Wno-deprecated-non-prototype "$object_file" -o "$executable_name" $link_paths $libs)

if [ $? -ne 0 ]; then
echo "Link failed."
Expand Down

0 comments on commit 9eac84d

Please sign in to comment.