Skip to content

Commit 184a2e2

Browse files
build: fix lint sh errors
1 parent 20a0042 commit 184a2e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

stage_for_s3.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22

33
mkdir stage
4-
cd stage
4+
cd stage || exit
55

66
TIMESTAMP=$(date '+%Y%m%d.%H%M')
77

@@ -13,7 +13,7 @@ gh release download -p "*.xz"
1313
curl "https://asana-oss-cache.s3.us-east-1.amazonaws.com/node-fibers/fibers-5.0.4.pc.tgz" --output fibers-5.0.4.tar.gz
1414
tar -xzf fibers-5.0.4.tar.gz
1515

16-
find . -name "*.gz" | while read a
16+
find . -name "*.gz" | while read -r a
1717
do
1818
tar -xzf "$a" -C package/bin
1919
rm "$a"

0 commit comments

Comments
 (0)