diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-28 03:05:09 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-28 04:12:42 +0900 |
| commit | 53e9dd6aa933c1a5b43da83a88d5e07bf27285bf (patch) | |
| tree | 75d23f52901368c2e9764df631d37b8eb7484723 /internal/rosa/package/tamago.az | |
| parent | 7e3ba55cdc4d4a7c19deb65879e8abbb12a8e458 (diff) | |
internal/rosa: do not hard code prefix
This allows the prefix to be changed, at runtime if needed.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/tamago.az')
| -rw-r--r-- | internal/rosa/package/tamago.az | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/rosa/package/tamago.az b/internal/rosa/package/tamago.az index 627823bd..bb0e14e1 100644 --- a/internal/rosa/package/tamago.az +++ b/internal/rosa/package/tamago.az @@ -21,13 +21,13 @@ package tamago { exec = generic { chdir = false; build = ` -mkdir /work/system/ -cp -r . /work/system/tamago -cd /work/system/tamago/src +mkdir /work`+prefix+`/ +cp -r . /work`+prefix+`/tamago +cd /work`+prefix+`/tamago/src chmod -R +w .. sed -i \ - 's,/lib/ld-musl-`+llvmArch+`.so.1,/system/bin/linker,' \ + 's,/lib/ld-musl-`+llvmArch+`.so.1,`+prefix+`/bin/linker,' \ cmd/link/internal/` + arch + `/obj.go rm \ |
