change urls
This commit is contained in:
6
bake
6
bake
@@ -6,7 +6,7 @@
|
|||||||
## by adding the functions under this text, and setting
|
## by adding the functions under this text, and setting
|
||||||
## STANDALONE=true
|
## 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"
|
# Target functions MUST be of format: "name() { # Menu description"
|
||||||
set -e
|
set -e
|
||||||
# In standalone mode, this script also contains targets
|
# In standalone mode, this script also contains targets
|
||||||
@@ -117,10 +117,10 @@ _update_self() {
|
|||||||
printf "\e[36mUpdate: %s ▶ %s\e[0m\n" \
|
printf "\e[36mUpdate: %s ▶ %s\e[0m\n" \
|
||||||
"$( grep "^## VERSION" "$0" | awk '{ print $3 }' )" \
|
"$( grep "^## VERSION" "$0" | awk '{ print $3 }' )" \
|
||||||
"$( curl -s -S -f \
|
"$( 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
|
grep "^## VERSION" | awk '{ print $3 }' )" >&2 || true
|
||||||
curl -S -f -o "$0" -z "$0" \
|
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"
|
chmod +x "$0"
|
||||||
echo Updated. >&2
|
echo Updated. >&2
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user