#!/bin/sh set -e # exit on failure IFS=$(printf '\n\t') # smarter ifs gh run download -n "$1" chmod +x "$1" mv "$1" "$(dirname "$(realpath "$0")")/bin"