We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20a0042 commit 184a2e2Copy full SHA for 184a2e2
1 file changed
stage_for_s3.sh
@@ -1,7 +1,7 @@
1
-#!/bin/sh
+#!/usr/bin/env bash
2
3
mkdir stage
4
-cd stage
+cd stage || exit
5
6
TIMESTAMP=$(date '+%Y%m%d.%H%M')
7
@@ -13,7 +13,7 @@ gh release download -p "*.xz"
13
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
14
tar -xzf fibers-5.0.4.tar.gz
15
16
-find . -name "*.gz" | while read a
+find . -name "*.gz" | while read -r a
17
do
18
tar -xzf "$a" -C package/bin
19
rm "$a"
0 commit comments