Skip to content

Commit

Permalink
fix(apt): when the lockfile is in root, it would previously complain …
Browse files Browse the repository at this point in the history
…the '/bullseye.lock.json' was in a read-only folder. Fixes #31 (#33)
  • Loading branch information
jacobshirley authored Apr 16, 2024
1 parent 1447931 commit 789bf1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apt/private/resolve.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _deb_resolve_impl(rctx):
_COPY_SH.format(
name = rctx.name.removesuffix("_resolution"),
label = locklabel,
workspace_relative_path = "%s/%s" % (locklabel.package, locklabel.name),
workspace_relative_path = (("%s/" % locklabel.package) if locklabel.package else "") + locklabel.name,
),
executable = True,
)
Expand Down

0 comments on commit 789bf1d

Please sign in to comment.