change urls

This commit is contained in:
Q
2024-08-08 21:31:17 +03:00
parent e11c1747ec
commit ec540a0cbc

6
bake
View File

@@ -6,7 +6,7 @@
## by adding the functions under this text, and setting
## STANDALONE=true
##
## LICENSE: The Unlicense, https://github.com/moonq/bake/blob/main/LICENSE
## LICENSE: The Unlicense, https://git.six9.net/moonq/bake/src/branch/main/LICENSE
# Target functions MUST be of format: "name() { # Menu description"
set -e
# In standalone mode, this script also contains targets
@@ -117,10 +117,10 @@ _update_self() {
printf "\e[36mUpdate: %s ▶ %s\e[0m\n" \
"$( grep "^## VERSION" "$0" | awk '{ print $3 }' )" \
"$( curl -s -S -f \
"https://raw.githubusercontent.com/moonq/bake/main/bake" | \
"https://git.six9.net/moonq/bake/raw/branch/main/bake" | \
grep "^## VERSION" | awk '{ print $3 }' )" >&2 || true
curl -S -f -o "$0" -z "$0" \
"https://raw.githubusercontent.com/moonq/bake/main/bake"
"https://git.six9.net/moonq/bake/raw/branch/main/bake"
chmod +x "$0"
echo Updated. >&2
}