From a488b37a22b72bdcd7b58102387fea98b82918e1 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 6 Apr 2024 00:19:09 +0200 Subject: examples: use {{name}} instead of {{basename}} {{name}} is usually the better choice for references in the scripts, as it can be overridden. --- examples/recipes/glibc/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'examples/recipes/glibc/build.yml') diff --git a/examples/recipes/glibc/build.yml b/examples/recipes/glibc/build.yml index 16f2706..3538d90 100644 --- a/examples/recipes/glibc/build.yml +++ b/examples/recipes/glibc/build.yml @@ -3,10 +3,10 @@ meta: tasks: unpack: fetch: - - name: '{{basename}}-{{version}}.tar.xz' + - name: '{{name}}-{{version}}.tar.xz' sha256: '92594ade540761f70d57de4f3a150128e7b7f7ed653a59d1acc23468ab70fae9' run: | - tar xf {{dldir}}/{{basename}}-{{version}}.tar.xz + tar xf {{dldir}}/{{name}}-{{version}}.tar.xz configure: args: @@ -24,9 +24,9 @@ tasks: run: | export BUILD_CC="$CC_FOR_BUILD" - mkdir {{basename}}-build - cd {{basename}}-build - ../{{basename}}-{{version}}/configure \ + mkdir {{name}}-build + cd {{name}}-build + ../{{name}}-{{version}}/configure \ --build={{build.gnu_triplet}} \ --host={{host.gnu_triplet}} \ --prefix={{host.prefix}} \ @@ -50,7 +50,7 @@ tasks: inherit: task: 'configure' run: | - cd {{basename}}-build + cd {{name}}-build make install: @@ -64,5 +64,5 @@ tasks: - recipe: 'linux/uapi-headers' task: 'install' run: | - cd {{basename}}-build + cd {{name}}-build make install_root={{destdir}} install -- cgit v1.2.3