Browse Source

Use the right drone env

pull/47/head
Dashie der otter 2 months ago
parent
commit
acdb8f2986
Signed by: Dashie <dashie@sigpipe.me> GPG Key ID: C2D57B325840B755
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      tests/install_audiowaveform.sh

+ 2
- 2
tests/install_audiowaveform.sh View File

@@ -19,13 +19,13 @@ build() {
19 19
     cp -fv audiowaveform /usr/local/bin/audiowaveform
20 20
 }
21 21
 
22
-BINPATH="${PWD}/.cache/audiowaveform/${DRONE_ARCH}/audiowaveform"
22
+BINPATH="${PWD}/.cache/audiowaveform/${DRONE_RUNNER_PLATFORM}/audiowaveform"
23 23
 
24 24
 # Cache logic : test if we have an executable already built, and working
25 25
 if [[ -d .cache ]]; then
26 26
     echo "-- build audiowaveform; cache available"
27 27
     # We have a cache dir, create struct
28
-    mkdir -pv ".cache/audiowaveform/${DRONE_ARCH}"
28
+    mkdir -pv ".cache/audiowaveform/${DRONE_RUNNER_PLATFORM}"
29 29
 
30 30
     # Check if a binary exists
31 31
     if [[ -x ${BINPATH} ]]; then

Loading…
Cancel
Save