Skip to content

Commit

Permalink
mkdir before you install
Browse files Browse the repository at this point in the history
Fixes #757
  • Loading branch information
mxcl committed Sep 29, 2023
1 parent 804ba65 commit a98b65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modes/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default async function(pkgs: PackageRequirement[]) {
async function write(dst: Path, pkgs: PackageRequirement[]) {
for (const pkg of pkgs) {
for (const program of await usePantry().project(pkg).provides()) {
const f = dst.join(program)
const f = dst.mkdir('p').join(program)
f.write({ text: undent`
#!/bin/sh
exec tea +${utils.pkg.str(pkg)} -- ${program} "$@"
Expand Down

0 comments on commit a98b65d

Please sign in to comment.