Commit 8b6be0b
authored
Fix script gen clean up failure (#1252)
## Summary
Getting the following error when running any script
```
[DEBUG] 2023/07/05 21:06:23 go.jetpack.io/devbox/internal/shellgen/scripts.go:73: failed to clean up script file build.sh, error = remove ~/devbox/.devbox/gen/scripts/build.sh.sh: no such file or directory
```
It looks like `.sh` is wrongly appended to the existing files under the
scripts directory. This PR fixes that.
## How was it tested?
devbox run build1 parent 8d7d6ca commit 8b6be0b
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments