From d2e28004f2595d95bf4826764087df57186cc227 Mon Sep 17 00:00:00 2001 From: Javier Maestro Date: Mon, 16 Dec 2024 17:18:18 +0000 Subject: [PATCH] fix: remove unnecessary basename Fixes #141 In #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! --- apt/private/deb_import.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt/private/deb_import.bzl b/apt/private/deb_import.bzl index 864d887..a218af4 100644 --- a/apt/private/deb_import.bzl +++ b/apt/private/deb_import.bzl @@ -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