diff options
author | edef <edef@edef.eu> | 2020-08-05T02·12+0000 |
---|---|---|
committer | edef <edef@edef.eu> | 2020-08-05T22·31+0000 |
commit | e6ccbc9f356672df0b5ba183e4419190b240ee3d (patch) | |
tree | 688af2b2ca4bb282ee74230cb13310fc7259fbe1 /tools | |
parent | ea488b570535b1cea5cfec74aa908af92202fcd1 (diff) |
fix(tools/depot-build): handle multiple levels of subdirectories r/1601
Change-Id: I99511c17d635b0222e1c933432007e6f8ea8cf85 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1655 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depot-build.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depot-build.nix b/tools/depot-build.nix index 5661d58760b5..62b4c7fc4476 100644 --- a/tools/depot-build.nix +++ b/tools/depot-build.nix @@ -4,5 +4,5 @@ pkgs.writeShellScriptBin "depot-build" '' TARGET=$(git rev-parse --show-prefix | sed 's|/$||') echo "Building //$TARGET" - nix-build -A $(echo $TARGET | sed 's|/|.|') $(${pkgs.git}/bin/git rev-parse --show-toplevel) + nix-build -A $(echo $TARGET | sed 's|/|.|g') $(${pkgs.git}/bin/git rev-parse --show-toplevel) '' |