Skip to content

Commit

Permalink
delint
Browse files Browse the repository at this point in the history
Signed-off-by: Yuri Shkuro <[email protected]>
  • Loading branch information
yurishkuro committed Aug 31, 2024
1 parent ed249f0 commit fd50298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/clean-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ platforms=$(make echo-platforms)
for main in ./cmd/*/main.go; do
dir=$(dirname "$main")
bin=$(basename "$dir")
rm -rf "$dir/$bin"
rm -rf "${dir:?}/$bin"
for platform in $(echo "$platforms" | tr ',' ' ' | tr '/' '-'); do
b="$dir/$bin-$platform"
b="${dir:?}/$bin-$platform"
echo "$b"
rm -f "$b"
done
Expand Down

0 comments on commit fd50298

Please sign in to comment.