Skip to content

Commit

Permalink
update hashupdate file permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
rob93c committed Dec 20, 2024
1 parent 4fb3b3a commit add6458
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hashupdate
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
set -eu

# from https://github.com/wader/static-ffmpeg/blob/787709ac341e7ef16f8a1768ed1e5a30b492a0b7/hashupdate
# Usage: hashupdate <FILE> <NAME> <VERSION>
URL_TEMPLATE=$(grep "$2_URL=" "$1" | sed -E 's/.*="(.*)"/\1/' | tr -d '\r')
URL=$(echo "$URL_TEMPLATE" | sed "s/\$$2_VERSION/$3/g")
Expand Down

0 comments on commit add6458

Please sign in to comment.