Skip to content

Commit 114905e

Browse files
authored
tools: a crappy ARM fix (#696)
1 parent b29729e commit 114905e

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

tools/push

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
11
#!/bin/bash
22

3-
python $(dirname "$0")/helper.py push "$@"
3+
set -m
4+
set -euo pipefail
5+
set -x
6+
7+
function print_running() {
8+
while true; do
9+
echo ">>> RUNNING <<<"
10+
sleep 3
11+
done
12+
}
13+
14+
if [[ $(uname -m) == "aarch64" ]]; then
15+
print_running &
16+
fi
17+
18+
cd "$(dirname "$0")" || exit 1
19+
python helper.py push "$@"

0 commit comments

Comments
 (0)