Skip to content

Commit

Permalink
fix: remove unnecessary basename
Browse files Browse the repository at this point in the history
Fixes GoogleContainerTools#141

In GoogleContainerTools#99 I added a dependency to basename when it's not really needed.

Credit and thanks to @birunts for finding the dependency and providing a
potential solution!
  • Loading branch information
jjmaestro committed Dec 16, 2024
1 parent 81c2dfd commit d2e2800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apt/private/deb_import.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ genrule(
# Bazel needs the output filename to be fixed in advanced so we settle for
# gzip compression.
data_file="$$(basename $<)"
data_file="$<"
if [[ "$$data_file" == "data.tar.bz2" ]]; then
# TODO: support bz2
Expand Down

0 comments on commit d2e2800

Please sign in to comment.