mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-14 02:52:42 +00:00
15 lines
238 B
Bash
15 lines
238 B
Bash
|
#!/bin/bash
|
||
|
set -euxo pipefail
|
||
|
|
||
|
outfile=${1:-}
|
||
|
[[ -n $outfile ]] || {
|
||
|
echo "Missing parameters: $0 <outfile> [libraries]"
|
||
|
exit 1
|
||
|
}
|
||
|
shift
|
||
|
|
||
|
libs=("$@")
|
||
|
|
||
|
IFS=$','
|
||
|
exec curl -sSfLo "${outfile}" "https://cdn.jsdelivr.net/combine/${libs[*]}"
|